diff --git a/css/style.css b/css/style.css index 18bacaaf..04b12d11 100644 --- a/css/style.css +++ b/css/style.css @@ -75,30 +75,30 @@ progress::after { width: 215px; } -.type_row{ +#positive_prompt textarea { + height: 80px; +} + +.type_row { height: 80px !important; } -.type_row_half{ +.type_row_half { height: 32px !important; } -.scroll-hide{ - resize: none !important; -} - -.refresh_button{ +.refresh_button { border: none !important; background: none !important; font-size: none !important; box-shadow: none !important; } -.advanced_check_row{ +.advanced_check_row { width: 250px !important; } -.min_check{ +.min_check { min-width: min(1px, 100%) !important; } diff --git a/webui.py b/webui.py index 72513cea..92d1b916 100644 --- a/webui.py +++ b/webui.py @@ -112,10 +112,10 @@ with shared.gradio_root: gallery = gr.Gallery(label='Gallery', show_label=False, object_fit='contain', visible=True, height=768, elem_classes=['resizable_area', 'main_view', 'final_gallery', 'image_gallery'], elem_id='final_gallery') - with gr.Row(elem_classes='type_row'): + 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, elem_classes='type_row', lines=1024) + container=False, autofocus=True, lines=1024) default_prompt = modules.config.default_prompt if isinstance(default_prompt, str) and default_prompt != '':