Skip to content

Commit

Permalink
fix: corrections for the modal styles
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford committed Jan 10, 2024
1 parent a661bbc commit 5089ffe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/newspack-ui/scss/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
&__modal {
background: var( --newspack-ui-color-body-bg );
border-radius: var( --newspack-ui-border-radius );
max-height: 90vh;
max-width: var( --newspack-ui-modal-width-medium );
overflow: hidden;

// Modal header & footer
&__header,
&__footer, {
&__footer {
padding: var( --newspack-ui-spacer-4 ) var( --newspack-ui-spacer-5 );
}

Expand Down Expand Up @@ -43,6 +44,7 @@

&__content {
backface-visibility: visible;
overflow: auto;
padding: var( --newspack-ui-spacer-5 );
}

Expand Down

0 comments on commit 5089ffe

Please sign in to comment.