Commit f60c24f8 authored by eaglgenes101's avatar eaglgenes101
Browse files

Add CSS classes for the settings panels

parent c5bdba20
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -657,7 +657,7 @@ def create_ui():
                setup_progressbar(progressbar, txt2img_preview, 'txt2img')
                setup_progressbar(progressbar, txt2img_preview, 'txt2img')


        with gr.Row().style(equal_height=False):
        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)
                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")
                sampler_index = gr.Radio(label='Sampling method', elem_id="txt2img_sampling", choices=[x.name for x in samplers], value=samplers[0].name, type="index")


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


        with gr.Row().style(equal_height=False):
        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.Tabs(elem_id="mode_img2img") as tabs_img2img_mode:
                    with gr.TabItem('img2img', id='img2img'):
                    with gr.TabItem('img2img', id='img2img'):