previewzoomoverlay

This commit is contained in:
2025-10-27 00:14:10 +01:00
parent 970678986a
commit 10e28cc5e2
3 changed files with 275 additions and 338 deletions
+20 -14
View File
@@ -229,31 +229,37 @@ button.danger:hover:not([disabled]) {
.preview-zoom__stage {
position: relative;
display: inline-flex;
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
max-width: 95vw;
max-height: 95vh;
cursor: zoom-in;
}
.preview-zoom__stage--native {
cursor: grab;
}
.preview-zoom__stage--dragging {
cursor: grabbing;
}
.preview-zoom__image {
max-width: 95vw;
max-height: 95vh;
width: auto;
height: auto;
border-radius: 0;
}
.preview-zoom__scroll {
display: flex;
align-items: center;
justify-content: center;
max-width: 95vw;
max-height: 95vh;
box-shadow: 0 32px 120px rgba(15, 23, 42, 0.55);
cursor: inherit;
}
.preview-zoom__scroll:focus {
outline: none;
}
.preview-zoom__scroll--native {
overflow: auto;
cursor: zoom-out;
justify-content: flex-start;
align-items: flex-start;
}
.preview-zoom__nav {