mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
Prevent page zoom on input focus in iOS 10. fixes flarum/core#1023
This commit is contained in:
@@ -194,15 +194,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h3 {
|
h3 input {
|
||||||
&, a, input {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
input {
|
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
.ComposerBody-editor {
|
.ComposerBody-editor {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
@@ -331,8 +326,7 @@
|
|||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
// Text Editor
|
// Text Editor
|
||||||
|
|
||||||
.TextEditor {
|
.TextEditor textarea {
|
||||||
& textarea {
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding: 0 0 10px;
|
padding: 0 0 10px;
|
||||||
border: 0;
|
border: 0;
|
||||||
@@ -345,6 +339,9 @@
|
|||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media @phone {
|
||||||
|
font-size: 16px; // minimum font-size required to prevent page zoom on focus in iOS 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.TextEditor-controls {
|
.TextEditor-controls {
|
||||||
|
@@ -18,6 +18,10 @@
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
|
||||||
|
@media @phone {
|
||||||
|
font-size: 16px; // minimum font-size required to prevent page zoom on focus in iOS 10
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.Form-group {
|
.Form-group {
|
||||||
|
@@ -38,6 +38,10 @@
|
|||||||
textarea& {
|
textarea& {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media @phone {
|
||||||
|
font-size: 16px; // minimum font-size required to prevent page zoom on focus in iOS 10
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.helpText {
|
.helpText {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Reference in New Issue
Block a user