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}
* #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