minor fix
This commit is contained in:
@@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user