mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +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}
|
[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
|
||||||
|
Loading…
Reference in New Issue
Block a user