]> cat aescling's git repositories - mastodon.git/commitdiff
Enlarge font size to avoid autozooming of iPhone. (#1911)
authorYuki Nakagawa <yukinari3po@gmail.com>
Sun, 16 Apr 2017 12:05:16 +0000 (21:05 +0900)
committerEugen <eugen@zeonfederated.com>
Sun, 16 Apr 2017 12:05:16 +0000 (14:05 +0200)
app/assets/stylesheets/components.scss

index d1c4d2bb2bcebc05ba57a56a8a18e27ec93d9ef8..8bd35819a934541eb503725b35246ff0981d6e83 100644 (file)
@@ -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 {