From fd66199769ebe0851d2ff33fdc7b191421822454 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Tue, 6 Sep 2022 19:33:51 +0300 Subject: added preview option --- style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'style.css') 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; } + -- cgit v1.2.3