diff options
| author | bobzel <zzzman@gmail.com> | 2025-03-05 14:54:18 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-03-05 14:54:18 -0500 |
| commit | db3bdb19ff7bc1c69c544797c05a6db3b72b1464 (patch) | |
| tree | fe01be9276ffcbaf9e27bb17e8f1fe7a25b22505 /src/client/views/nodes/ImageBox.scss | |
| parent | 9688e3bb1e67336fe57e11b186936830d5483b06 (diff) | |
added:hover mode for images to make primary image fade in instead of alternate.
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
| -rw-r--r-- | src/client/views/nodes/ImageBox.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss index 15581a9e8..3d6942e6f 100644 --- a/src/client/views/nodes/ImageBox.scss +++ b/src/client/views/nodes/ImageBox.scss @@ -40,6 +40,7 @@ max-height: 100%; pointer-events: inherit; background: transparent; + z-index: 0; // z-index: -10000; // bcz: not sure why this was here. it broke dropping images on the image box alternate bullseye icon. img { @@ -103,6 +104,10 @@ margin: 0 auto; display: flex; height: 100%; + img { + object-fit: contain; + height: 100%; + } .imageBox-fadeBlocker, .imageBox-fadeBlocker-hover { @@ -237,5 +242,6 @@ text-overflow: ellipsis; max-width: 65%; width: 100%; + color: black; } } |
