about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-04-19 10:48:54 +0200
committerThibaut Girka <thib@sitedethib.com>2019-04-19 10:48:54 +0200
commit8b7b65e995849550957ecfda7fc1bf5fa9c8fcdf (patch)
tree2afac9cff3c093d8464f7f4b59f0e76ae1d9183f
parent268417daf314a5af2cc81e75d9d476f79a697b17 (diff)
[Glitch] Allow modal secondary button to shrink and allow wider confirmation modals
Port 7f75792bf305eea297c63731600af3b02968aea4 to glitch-soc
-rw-r--r--app/javascript/flavours/glitch/styles/components/modal.scss12
1 files changed, 4 insertions, 8 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/modal.scss b/app/javascript/flavours/glitch/styles/components/modal.scss
index fece8593b..05af34680 100644
--- a/app/javascript/flavours/glitch/styles/components/modal.scss
+++ b/app/javascript/flavours/glitch/styles/components/modal.scss
@@ -488,14 +488,6 @@
   font-size: 14px;
 }
 
-.confirmation-modal {
-  max-width: 85vw;
-
-  @media screen and (min-width: 480px) {
-    max-width: 380px;
-  }
-}
-
 .mute-modal {
   line-height: 24px;
 }
@@ -685,6 +677,10 @@
       color: darken($lighter-text-color, 4%);
     }
   }
+
+  .confirmation-modal__secondary-button {
+    flex-shrink: 1;
+  }
 }
 
 .confirmation-modal__do_not_ask_again {