diff --git a/css/style.css b/css/style.css index 04b12d11..6ed0f628 100644 --- a/css/style.css +++ b/css/style.css @@ -74,17 +74,21 @@ progress::after { text-align: right; width: 215px; } +div:has(> #positive_prompt) { + border: none; +} -#positive_prompt textarea { - height: 80px; +#positive_prompt { + padding: 1px; + background: var(--background-fill-primary); } .type_row { - height: 80px !important; + height: 84px !important; } .type_row_half { - height: 32px !important; + height: 34px !important; } .refresh_button { diff --git a/webui.py b/webui.py index 92d1b916..db1c98d0 100644 --- a/webui.py +++ b/webui.py @@ -115,7 +115,7 @@ with shared.gradio_root: with gr.Row(): with gr.Column(scale=17): prompt = gr.Textbox(show_label=False, placeholder="Type prompt here or paste parameters.", elem_id='positive_prompt', - container=False, autofocus=True, lines=1024) + autofocus=True, lines=3) default_prompt = modules.config.default_prompt if isinstance(default_prompt, str) and default_prompt != '':