From 43b670d13ca047252056969ecec5a1c275ac2704 Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 16 Apr 2019 01:23:07 +0200 Subject: [PATCH] Allow modal secondary button to shrink and allow wider confirmation modals (#10586) Fixes #10531 --- app/javascript/styles/mastodon/components.scss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 4b3f5153ccde8b..e697ba554df22a 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,