Skip to content

Commit

Permalink
Merge branch 'popup-banner' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Oct 7, 2024
2 parents 9917dc2 + c42819c commit 77ab702
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/assets/stylesheets/responsive/_popups_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,24 @@
.popup__close {
position: absolute;
display: inline-block;;
top: -0.25em;
top: 50%;
transform: translateY(-50%); // positions the icon vertically in the middle of the banner.
right: 0.9375rem; // equal to the padding of .popup minus padding
z-index: 50;
padding: 0.5em;
font-size: 1.5rem; // The element's clickable area is big enough
}

.popup__content {

padding-top: 1em;
padding-bottom: 1em;
text-align: center;
@include grid-column(12);
padding-right: 2.5rem; // No overlapping with the close button in smaller screens
@include ie8{
padding-left: 0.9375em;
padding-right: 0.9375em;
padding-right: 2.5rem;
}
}

Expand Down

0 comments on commit 77ab702

Please sign in to comment.