aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
-rw-r--r--src/client/views/nodes/ImageBox.scss25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss
index f28ca98f7..96ea4d0d6 100644
--- a/src/client/views/nodes/ImageBox.scss
+++ b/src/client/views/nodes/ImageBox.scss
@@ -7,7 +7,7 @@
transform-origin: top left;
}
-.imageBox-cont, .imageBox-cont-interactive {
+.imageBox-cont, .imageBox-cont-dragging {
padding: 0vw;
position: absolute;
text-align: center;
@@ -17,10 +17,20 @@
max-height: 100%;
pointer-events: none;
background:transparent;
+ img {
+ height: auto;
+ width: 100%;
+ pointer-events: all;
+ }
+ .imageBox-fader {
+ pointer-events: all;
+ }
}
-.imageBox-fader {
- pointer-events: all;
+.imageBox-cont-dragging {
+ .imageBox-fader {
+ pointer-events: none;
+ }
}
.imageBox-dot {
@@ -33,15 +43,6 @@
background: gray;
}
-.imageBox-cont img {
- height: auto;
- width: 100%;
-}
-
-.imageBox-cont-interactive img {
- height: auto;
- width: 100%;
-}
#google-photos {
transition: all 0.5s ease 0s;