Skip to content

Commit

Permalink
Merge pull request #6003 from eaglgenes101/settings-css-classes
Browse files Browse the repository at this point in the history
Add CSS classes for the settings panels
  • Loading branch information
AUTOMATIC1111 authored Dec 25, 2022
2 parents b12de85 + f60c24f commit 7b7f7e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def create_ui():
setup_progressbar(progressbar, txt2img_preview, 'txt2img')

with gr.Row().style(equal_height=False):
with gr.Column(variant='panel'):
with gr.Column(variant='panel', elem_id="txt2img_settings"):
steps = gr.Slider(minimum=1, maximum=150, step=1, label="Sampling Steps", value=20)
sampler_index = gr.Radio(label='Sampling method', elem_id="txt2img_sampling", choices=[x.name for x in samplers], value=samplers[0].name, type="index")

Expand Down Expand Up @@ -812,7 +812,7 @@ def create_ui():
setup_progressbar(progressbar, img2img_preview, 'img2img')

with gr.Row().style(equal_height=False):
with gr.Column(variant='panel'):
with gr.Column(variant='panel', elem_id="img2img_settings"):

with gr.Tabs(elem_id="mode_img2img") as tabs_img2img_mode:
with gr.TabItem('img2img', id='img2img'):
Expand Down

1 comment on commit 7b7f7e9

@RussOniMac
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it

Please sign in to comment.