Skip to content

Instantly share code, notes, and snippets.

@franhaselden
Created October 30, 2020 15:00
Show Gist options
  • Save franhaselden/4f7809b66f9eca47f7975182b763b9e4 to your computer and use it in GitHub Desktop.
Save franhaselden/4f7809b66f9eca47f7975182b763b9e4 to your computer and use it in GitHub Desktop.
Untitled
.ModalOverlay__container {
top: 0px;
position: fixed;
height: 100%;
width: 100%;
z-index: 10002;
}
.ReviewPhotoGallery__container {
height: 100%;
}
.ReviewPhotoGallery__backBtn {
border: 0;
background: transparent;
position: absolute;
z-index: 2;
}
.ReviewPhotoGallery__imageContainer {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.ReviewPhotoGallery__image {
display: block;
max-width: 100%;
max-height: 100%;
}
<div class="ModalOverlay__container ModalOverlay__blackBackground" style="top: 0px;">
<div class="ReviewPhotoGallery__container" id="overlay7732">
<button class="ReviewPhotoGallery__backBtn" aria-label="Back">
<div class="product-left-arrow-outlined"></div>
</button>
<div class="ReviewPhotoGallery__imageContainer">
<img class="ReviewPhotoGallery__image" alt="Customer-submitted image" src="https://picsum.photos/id/1026/640/1280">
</div>
</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment