minor fix

This commit is contained in:
2024-07-13 01:47:01 +02:00
parent 038606a3fc
commit 7283edc0b4

View File

@@ -11,6 +11,7 @@
width: 100%; width: 100%;
z-index: 1; z-index: 1;
#zoom-image { #zoom-image {
user-select: none;
position: sticky; position: sticky;
min-height: 20px; min-height: 20px;
min-width: 20px; min-width: 20px;
@@ -24,16 +25,9 @@
} }
@media (max-width: $responsive-width) { @media (max-width: $responsive-width) {
#zoom-image { #zoom-image {
position: sticky;
min-height: 20px;
min-width: 20px;
max-height: 100%; max-height: 100%;
max-width: 90%; max-width: 90%;
top: 50%;
left: 50%;
transform: translate(-7%, -50%); transform: translate(-7%, -50%);
background-color: white;
z-index: 2;
} }
} }
} }