- Tweaks to image CSS to allow context click access.
Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
Charles Hacskaylo
2022-06-08 14:47:51 -07:00
committed by GitHub
parent 194060f30a
commit e288fdffea

View File

@ -68,15 +68,23 @@
overflow: hidden; overflow: hidden;
} }
&__background-image { &__background-image {
// Actually does the image display
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
} }
&__image { &__image {
// Present to allow Save As... image
position: absolute;
height: 100%; height: 100%;
width: 100%; width: 100%;
visibility: hidden; opacity: 0;
display: contents; }
&__image-save-proxy {
height: 100%;
width: 100%;
z-index: 10;
} }
} }