From a8f45c0838c35c51120e6e327457d5114f86a300 Mon Sep 17 00:00:00 2001 From: Yuki Nakagawa Date: Sun, 16 Apr 2017 21:05:16 +0900 Subject: [PATCH] Enlarge font size to avoid autozooming of iPhone. (#1911) --- app/assets/stylesheets/components.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index d1c4d2bb2b..8bd35819a9 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -1203,6 +1203,10 @@ a.status__content__spoiler-link { &:focus { outline: 0; } + + @media screen and (max-width: 600px) { + font-size: 16px; + } } .spoiler-input__input { @@ -1267,6 +1271,10 @@ a.status__content__spoiler-link { color: $color5; border-bottom-color: $color4; } + + @media screen and (max-width: 600px) { + font-size: 16px; + } } @import 'boost'; @@ -1906,6 +1914,10 @@ button.icon-button.active i.fa-retweet { &:focus { background: lighten($color1, 4%); } + + @media screen and (max-width: 600px) { + font-size: 16px; + } } .search__icon {