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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user