aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-21 17:25:04 -0500
committerbobzel <zzzman@gmail.com>2025-02-21 17:25:04 -0500
commit76292349418bfadedb904a2bcb0c6d1466709326 (patch)
tree40ef3bc60a0d22472fca813cf099880736c5e374 /src/client/views/nodes/ImageBox.scss
parentec1c58855b7209c49026e98185bd52906aa84a37 (diff)
fixed dropping image onto image boxes. re-enabled rag tool
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
-rw-r--r--src/client/views/nodes/ImageBox.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss
index fe4f0b1a2..59e093683 100644
--- a/src/client/views/nodes/ImageBox.scss
+++ b/src/client/views/nodes/ImageBox.scss
@@ -40,7 +40,7 @@
max-height: 100%;
pointer-events: inherit;
background: transparent;
- z-index: -10000;
+ // z-index: -10000; // bcz: not sure why this was here. it broke dropping images on the image box alternate bullseye icon.
img {
height: auto;
@@ -129,7 +129,12 @@
right: 0;
bottom: 0;
z-index: 2;
+ transform-origin: bottom right;
cursor: default;
+ > svg {
+ width: 100%;
+ height: 100%;
+ }
}
.imageBox-fader img {