mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 14:52:31 +03:00
fix(css): prevent generate button from overlapping prompt, fix font size on multiline prompts
This commit is contained in:
parent
b4eb2c1d3a
commit
5ff04a5a52
@ -10,22 +10,15 @@ def css(opt):
|
||||
[data-testid="image"] {min-height: 512px !important}
|
||||
* #body>.col:nth-child(2){width:250%;max-width:89vw}
|
||||
|
||||
#prompt_row input{
|
||||
font-size:20px
|
||||
#prompt_row input,
|
||||
#prompt_row textarea {
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
#edit_mode_select{width:auto !important}
|
||||
input[type=number]:disabled { -moz-appearance: textfield;+ }
|
||||
#generate, #img2img_mask_btn,#img2img_edit_btn{
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
top: 14px;
|
||||
}
|
||||
@media (max-width: 420px){
|
||||
#generate, #img2img_mask_btn,#img2img_edit_btn{
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
top: 5px;
|
||||
}
|
||||
#generate, #img2img_mask_btn, #img2img_edit_btn {
|
||||
height: 100%;
|
||||
}
|
||||
"""
|
||||
return styling if opt.no_progressbar_hiding else styling + css_hide_progressbar
|
||||
|
Loading…
Reference in New Issue
Block a user