A platform for community discussion. Free, open, simple.
UX: ensure ios font size is always min 16px with max() fn (#29270)
chapoi11017b20f844
diff --git a/app/assets/stylesheets/common/font-variables.scss b/app/assets/stylesheets/common/font-variables.scssindex 764f0b55cbc..ed4b9cca6dc 100644--- a/app/assets/stylesheets/common/font-variables.scss+++ b/app/assets/stylesheets/common/font-variables.scss@@ -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;