aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-06 16:33:51 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-06 16:33:51 +0000
commitfd66199769ebe0851d2ff33fdc7b191421822454 (patch)
tree58665e755d560046e06792ba2da8ed56ec683a8a /style.css
parentdb6db585eb9ee48e7315e28603e18531dbc87067 (diff)
downloadstable-diffusion-webui-gfx803-fd66199769ebe0851d2ff33fdc7b191421822454.tar.gz
stable-diffusion-webui-gfx803-fd66199769ebe0851d2ff33fdc7b191421822454.tar.bz2
stable-diffusion-webui-gfx803-fd66199769ebe0851d2ff33fdc7b191421822454.zip
added preview option
Diffstat (limited to 'style.css')
-rw-r--r--style.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/style.css b/style.css
index 93bdcb13..2898686d 100644
--- a/style.css
+++ b/style.css
@@ -31,6 +31,20 @@ button{
max-width: 10em;
}
+#txt2img_preview, #img2img_preview{
+ position: absolute;
+ width: 320px;
+ left: 0;
+ right: 0;
+ margin-left: auto;
+ margin-right: auto;
+ z-index: 100;
+}
+
+#txt2img_preview div.left-0.top-0, #img2img_preview div.left-0.top-0{
+ display: none;
+}
+
fieldset span.text-gray-500, .gr-block.gr-box span.text-gray-500, label.block span{
position: absolute;
top: -0.6em;
@@ -96,3 +110,4 @@ input[type="range"]{
text-align: right;
border-radius: 8px;
}
+