mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Merge branch 'feature/make-textboxes-resizeable-again'
This commit is contained in:
+8
-4
@@ -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 {
|
||||||
|
|||||||
@@ -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 != '':
|
||||||
|
|||||||
Reference in New Issue
Block a user