]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Allow modal secondary button to shrink and allow wider confirmation modals
authorThibaut Girka <thib@sitedethib.com>
Fri, 19 Apr 2019 08:48:54 +0000 (10:48 +0200)
committerThibaut Girka <thib@sitedethib.com>
Fri, 19 Apr 2019 08:48:54 +0000 (10:48 +0200)
Port 7f75792bf305eea297c63731600af3b02968aea4 to glitch-soc

app/javascript/flavours/glitch/styles/components/modal.scss

index fece8593b6261c4a898591bcebd106119198015c..05af34680f98248f8b303616026500cdba2ef328 100644 (file)
   font-size: 14px;
 }
 
-.confirmation-modal {
-  max-width: 85vw;
-
-  @media screen and (min-width: 480px) {
-    max-width: 380px;
-  }
-}
-
 .mute-modal {
   line-height: 24px;
 }
       color: darken($lighter-text-color, 4%);
     }
   }
+
+  .confirmation-modal__secondary-button {
+    flex-shrink: 1;
+  }
 }
 
 .confirmation-modal__do_not_ask_again {