UX: ensure ios font size is always min 16px with max() fn (#29270)

This commit is contained in:
chapoi 2024-10-18 05:26:12 +02:00 committed by GitHub
parent fdd4804a8d
commit 11017b20f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@
--font-down-2-rem: 0.7579rem;
// 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: 1.07em;
--font-size-ios-input: max(1em, 16px);
// Common line-heights
--line-height-small: 1;