From 12f5a435ee6476e2e07ded0c9cdd597c70ca8af0 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 13 Jan 2025 22:26:35 -0500 Subject: changing ai for images and collections to work mostly the same way. fixes for document view/collection/images to keep things working when the ai editor view reduces the rendered document size. fixed so that freeform views overlaid on images/vieos/etc have the ui menu items of collections. --- src/client/views/nodes/ImageBox.scss | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'src/client/views/nodes/ImageBox.scss') diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss index 1b6b3c85a..a50320f5e 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: -10000; img { height: auto; @@ -159,6 +160,7 @@ .imageBox-aiView { text-align: center; font-weight: bold; + width: 100%; .imageBox-aiView-subtitle { position: relative; @@ -168,20 +170,29 @@ .imageBox-aiView-regenerate-container, .imageBox-aiView-options-container { font-weight: normal; - margin: 5px; display: flex; } .imageBox-aiView-regenerate, .imageBox-aiView-options { display: flex; - flex-direction: row; - justify-content: center; + align-items: center; flex-direction: row; gap: 5px; + width: 100%; } + .imageBox-aiView-strength { + text-align: center; + align-items: center; + display: flex; + width: 125px; + } + .imageBox-aiView-slider { + width: 50px; + margin-left: 5px; + } .imageBox-aiView-input { - width: 50%; + width: 100%; } } -- cgit v1.2.3-70-g09d2