Skip to content

Commit

Permalink
fix: prevent issue with double-scrollbars in really specific circumst…
Browse files Browse the repository at this point in the history
…ances (#1370)
  • Loading branch information
laurelfulford authored Nov 18, 2024
1 parent 754f78b commit c35772f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/view/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $width__tablet: 782px;
background: white;
border: none;
box-shadow: 0 0 1em 0.5em rgba(black, 0.1);
overflow-x: hidden;
overflow: hidden;
position: relative;
transform: none;
transition: transform 0.2s ease-in-out;
Expand Down Expand Up @@ -267,15 +267,13 @@ $width__tablet: 782px;
&.newspack-lightbox-placement-top_right {
.newspack-popup-wrapper {
max-height: calc(100% - #{$overlay__gap});
overflow-y: auto;
}
}

&.newspack-lightbox-placement-bottom,
&.newspack-lightbox-placement-top {
.newspack-popup-wrapper {
max-height: 100%;
overflow-y: auto;
}
}

Expand Down

0 comments on commit c35772f

Please sign in to comment.