about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-04-16 01:23:07 +0200
committerYamagishi Kazutoshi <ykzts@desire.sh>2019-04-16 08:23:07 +0900
commit7f75792bf305eea297c63731600af3b02968aea4 (patch)
tree8fc292392591ec48350664879bb5d594e5e4330a /app/javascript
parent9254bbe87571407c1593aaf0abc0ae0d1d68dc7b (diff)
Allow modal secondary button to shrink and allow wider confirmation modals (#10586)
Fixes #10531
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/components.scss12
1 files changed, 4 insertions, 8 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 4b3f5153c..e697ba554 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -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,