Skip to content

Commit

Permalink
repair broken quicksettings when some form-requiring options are adde…
Browse files Browse the repository at this point in the history
…d to it
  • Loading branch information
AUTOMATIC1111 committed Jan 18, 2023
1 parent 0c5913b commit 6faae23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ def request_restart():
interfaces += [(extensions_interface, "Extensions", "extensions")]

with gr.Blocks(css=css, analytics_enabled=False, title="Stable Diffusion") as demo:
with gr.Row(elem_id="quicksettings"):
with gr.Row(elem_id="quicksettings", variant="compact"):
for i, k, item in sorted(quicksettings_list, key=lambda x: quicksettings_names.get(x[1], x[0])):
component = create_setting_component(k, is_quicksettings=True)
component_dict[k] = component
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ input[type="range"]{
gap: 0.4em;
}

#quicksettings > div{
#quicksettings > div, #quicksettings > fieldset{
max-width: 24em;
min-width: 24em;
padding: 0;
Expand Down

0 comments on commit 6faae23

Please sign in to comment.