Merge branch 'feature/make-textboxes-resizeable-again'

This commit is contained in:
Manuel Schmid
2024-06-02 01:55:10 +02:00
2 changed files with 9 additions and 5 deletions
+8 -4
View File
@@ -74,17 +74,21 @@ progress::after {
text-align: right; text-align: right;
width: 215px; width: 215px;
} }
div:has(> #positive_prompt) {
border: none;
}
#positive_prompt textarea { #positive_prompt {
height: 80px; padding: 1px;
background: var(--background-fill-primary);
} }
.type_row { .type_row {
height: 80px !important; height: 84px !important;
} }
.type_row_half { .type_row_half {
height: 32px !important; height: 34px !important;
} }
.refresh_button { .refresh_button {
+1 -1
View File
@@ -115,7 +115,7 @@ with shared.gradio_root:
with gr.Row(): with gr.Row():
with gr.Column(scale=17): with gr.Column(scale=17):
prompt = gr.Textbox(show_label=False, placeholder="Type prompt here or paste parameters.", elem_id='positive_prompt', 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 default_prompt = modules.config.default_prompt
if isinstance(default_prompt, str) and default_prompt != '': if isinstance(default_prompt, str) and default_prompt != '':