From: Thibaut Girka Date: Fri, 19 Apr 2019 08:48:54 +0000 (+0200) Subject: [Glitch] Allow modal secondary button to shrink and allow wider confirmation modals X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=8b7b65e995849550957ecfda7fc1bf5fa9c8fcdf;p=mastodon.git [Glitch] Allow modal secondary button to shrink and allow wider confirmation modals Port 7f75792bf305eea297c63731600af3b02968aea4 to glitch-soc --- 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 {