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

View File

@ -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;