Skip to content

Commit

Permalink
Corrected modal-root__modal CSS width
Browse files Browse the repository at this point in the history
max-width: 100vw on .modal-root__modal, reverted other unnecessary changes.
  • Loading branch information
DismalShadowX authored Oct 29, 2024
1 parent f3fc470 commit 587a4ae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5803,21 +5803,17 @@ a.status-card {
z-index: 9999;
pointer-events: none;
user-select: none;
overflow: hidden;
}

.modal-root__modal {
pointer-events: auto;
user-select: text;
display: flex;
overflow: auto;
max-width: 90vw;
max-height: 90vh;
max-width: 100vw;

@media screen and (width <= $mobile-breakpoint) {
margin-top: auto;
max-width: 100vw;
max-height: 80vh;
}
}

Expand Down

0 comments on commit 587a4ae

Please sign in to comment.