]> cat aescling's git repositories - mastodon.git/commitdiff
Fix width of .confirmation-modal on narrow screens (#2743)
authorunarist <m.unarist@gmail.com>
Wed, 3 May 2017 09:39:14 +0000 (18:39 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 3 May 2017 09:39:14 +0000 (11:39 +0200)
app/javascript/styles/components.scss

index 178ac05de53c5919cddc5e1d28e1220141159ffc..f9cf6a171dc0c28822ffe99b53619426a364c0a3 100644 (file)
@@ -2947,7 +2947,11 @@ button.icon-button.active i.fa-retweet {
 }
 
 .confirmation-modal {
-  max-width: 380px;
+  max-width: 280px;
+
+  @media screen and (min-width: 480px) {
+    max-width: 380px;
+  }
 }
 
 .confirmation-modal__action-bar {