mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 14:52:31 +03:00
Better robustness of styling for prompt and submit
This commit is contained in:
parent
c1ad047a82
commit
59e1e8fe17
@ -10,23 +10,23 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user