Better robustness of styling for prompt and submit

This commit is contained in:
jansteffen 2022-08-29 16:05:28 +02:00 committed by hlky
parent c1ad047a82
commit 59e1e8fe17

View File

@ -9,24 +9,24 @@ def css(opt):
[data-testid="image"] {min-height: 512px !important} [data-testid="image"] {min-height: 512px !important}
* #body>.col:nth-child(2){width:250%;max-width:89vw} * #body>.col:nth-child(2){width:250%;max-width:89vw}
#prompt_row { #prompt_input, #img2img_prompt_input {
position: relative; padding: 0px;
border: none;
} }
#prompt_row input, #prompt_row input,
#prompt_row textarea { #prompt_row textarea {
font-size: 1.5rem; font-size: 1.2rem;
line-height: 2rem; line-height: 1.6rem;
padding-right: 115px;
} }
#edit_mode_select{width:auto !important} #edit_mode_select{width:auto !important}
input[type=number]:disabled { -moz-appearance: textfield;+ } input[type=number]:disabled { -moz-appearance: textfield;+ }
#generate, #img2img_mask_btn, #img2img_edit_btn { #generate, #img2img_mask_btn, #img2img_edit_btn {
position: absolute; align-self: stretch;
top: 15px;
bottom: 15px;
right: 17px;
} }
""" """
return styling if opt.no_progressbar_hiding else styling + css_hide_progressbar return styling if opt.no_progressbar_hiding else styling + css_hide_progressbar