Skip to content

Commit

Permalink
Allow modal secondary button to shrink and allow wider confirmation m…
Browse files Browse the repository at this point in the history
…odals

Fixes mastodon#10531
  • Loading branch information
ClearlyClaire committed Apr 15, 2019
1 parent b2d9dcf commit 0903efb
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0903efb

Please sign in to comment.