mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:13:39 +08:00
This reverts commit d0d4a363d4
. This causes issues for people that have specified explicit font sizes in their browser - reverting while we investigate. https://meta.discourse.org/t/300374
This commit is contained in:
parent
26db3be4dd
commit
8b935e5b33
|
@ -30,7 +30,7 @@
|
|||
|
||||
// inputs/textareas in iOS need to be at least 16px to avoid triggering zoom on focus
|
||||
// with base at 15px, the below gives 16.05px
|
||||
--font-size-input: max(1em, 16px);
|
||||
--font-size-ios-input: 1.07em;
|
||||
|
||||
// Common line-heights
|
||||
--line-height-small: 1;
|
||||
|
|
|
@ -114,7 +114,11 @@ $hpad: 0.65em;
|
|||
line-height: normal;
|
||||
box-sizing: border-box;
|
||||
padding: $vpad $hpad;
|
||||
font-size: var(--font-size-input);
|
||||
.ios-device & {
|
||||
font-size: var(--font-size-ios-input);
|
||||
padding-top: $vpad * 0.8;
|
||||
padding-bottom: $vpad * 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin sticky {
|
||||
|
|
|
@ -9,8 +9,16 @@ body {
|
|||
background-color: var(--secondary);
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-size: var(--font-size-input);
|
||||
.ios-device {
|
||||
textarea {
|
||||
background-color: var(--secondary);
|
||||
font-size: var(--font-size-ios-input);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
input#reply-title {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
|
Loading…
Reference in New Issue
Block a user