mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:42:16 +08:00
UX: ensure ios font size is always min 16px with max() fn (#29270)
This commit is contained in:
parent
fdd4804a8d
commit
11017b20f8
|
@ -29,8 +29,7 @@
|
||||||
--font-down-2-rem: 0.7579rem;
|
--font-down-2-rem: 0.7579rem;
|
||||||
|
|
||||||
// inputs/textareas in iOS need to be at least 16px to avoid triggering zoom on focus
|
// 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-ios-input: max(1em, 16px);
|
||||||
--font-size-ios-input: 1.07em;
|
|
||||||
|
|
||||||
// Common line-heights
|
// Common line-heights
|
||||||
--line-height-small: 1;
|
--line-height-small: 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user