]> cat aescling's git repositories - mastodon.git/commitdiff
Allow modal secondary button to shrink and allow wider confirmation modals (#10586)
authorThibG <thib@sitedethib.com>
Mon, 15 Apr 2019 23:23:07 +0000 (01:23 +0200)
committerYamagishi Kazutoshi <ykzts@desire.sh>
Mon, 15 Apr 2019 23:23:07 +0000 (08:23 +0900)
Fixes #10531

app/javascript/styles/mastodon/components.scss

index 4b3f5153ccde8b4bf1923ad93e5bc5cb44a5d29b..e697ba554df22a094ae2707a16abccf84dca878d 100644 (file)
@@ -3961,14 +3961,6 @@ a.status-card.compact:hover {
   font-size: 14px;
 }
 
-.confirmation-modal {
-  max-width: 85vw;
-
-  @media screen and (min-width: 480px) {
-    max-width: 380px;
-  }
-}
-
 .mute-modal {
   line-height: 24px;
 }
@@ -4147,6 +4139,10 @@ a.status-card.compact:hover {
       color: darken($lighter-text-color, 4%);
     }
   }
+
+  .confirmation-modal__secondary-button {
+    flex-shrink: 1;
+  }
 }
 
 .confirmation-modal__container,