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

This commit is contained in:
Manuel Schmid 2024-06-02 01:55:10 +02:00
commit e504b24f8f
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 9 additions and 5 deletions

View File

@ -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 {

View File

@ -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 != '':