From: ThibG Date: Mon, 15 Apr 2019 23:23:07 +0000 (+0200) Subject: Allow modal secondary button to shrink and allow wider confirmation modals (#10586) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=7f75792bf305eea297c63731600af3b02968aea4;p=mastodon.git Allow modal secondary button to shrink and allow wider confirmation modals (#10586) Fixes #10531 --- 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,