Fix https://github.com/donetick/frontend/issues/72 Add styles to prevent iOS Safari auto-zoom on input focus in index.css and RichTextEditor.css

This commit is contained in:
Mo Tarbin
2026-03-11 22:26:42 -04:00
parent 5ec2db5dca
commit 17551f813b
2 changed files with 16 additions and 0 deletions

View File

@@ -32,6 +32,15 @@ html {
/* Prevent iOS Safari from auto-zooming on input focus (triggered when font-size < 16px) */
@supports (-webkit-touch-callout: none) {
input,
textarea,
select {
font-size: max(16px, 1em);
}
}
/* Ensure smooth transitions for dynamic content */
* {
box-sizing: border-box;