From 723feea83298af6f8f4be0ae243df86396ec56e0 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Thu, 11 Apr 2019 00:03:29 -0400 Subject: [PATCH] Bump textarea font size on mobile As of eae2254, zooming is enabled in mobile. Unfortunately, iOS zoomns in on textareas and inputs with font sizes below 16px. This bumps font size for textareas (i.e. composer) but not yet for inputs. --- app/assets/stylesheets/mobile/discourse.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/mobile/discourse.scss b/app/assets/stylesheets/mobile/discourse.scss index 4476862fbab..bb863ced62e 100644 --- a/app/assets/stylesheets/mobile/discourse.scss +++ b/app/assets/stylesheets/mobile/discourse.scss @@ -13,6 +13,13 @@ textarea { background-color: $secondary; } +textarea { + // this increases font size to above 16px + // which is the threshold on iOS to trigger zooming + // when focusing on a textarea + font-size: $font-up-1; +} + blockquote { /* 13px left is intentional here to properly align with post quotes */ padding: 10px 8px 10px 13px;