aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-11-26 14:34:41 -0500
committerbob <bcz@cs.brown.edu>2019-11-26 14:34:41 -0500
commit6cd6e035fc67812afd7a40f8abd0f07f8874f04a (patch)
tree896eb612a90afa9fea92a5398c021f54094286f5 /src/client/views/nodes/ImageBox.scss
parent4cf3b0a4673a00f0e1de107b29a0c0b658266f46 (diff)
fixes for tree view drag drop with images.
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;