From 59e1e8fe1760fb83f1ce2df355ff4f72dfdbd0fa Mon Sep 17 00:00:00 2001 From: jansteffen Date: Mon, 29 Aug 2022 16:05:28 +0200 Subject: [PATCH] Better robustness of styling for prompt and submit --- frontend/css_and_js.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/css_and_js.py b/frontend/css_and_js.py index f3557e6..2901787 100644 --- a/frontend/css_and_js.py +++ b/frontend/css_and_js.py @@ -9,24 +9,24 @@ def css(opt): [data-testid="image"] {min-height: 512px !important} * #body>.col:nth-child(2){width:250%;max-width:89vw} - - #prompt_row { - position: relative; + + #prompt_input, #img2img_prompt_input { + padding: 0px; + border: none; } #prompt_row input, #prompt_row textarea { - font-size: 1.5rem; - line-height: 2rem; - padding-right: 115px; + font-size: 1.2rem; + line-height: 1.6rem; } + #edit_mode_select{width:auto !important} + input[type=number]:disabled { -moz-appearance: textfield;+ } + #generate, #img2img_mask_btn, #img2img_edit_btn { - position: absolute; - top: 15px; - bottom: 15px; - right: 17px; + align-self: stretch; } """ return styling if opt.no_progressbar_hiding else styling + css_hide_progressbar