diff --git a/modules/ui.py b/modules/ui.py index e7f97ab9..ab4c864d 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1474,24 +1474,24 @@ def create_ui(): if info.refresh is not None: if is_quicksettings: - with FormRow(elem_id=f'row_{elem_id}'): + with gr.Row(elem_id=f'row_{elem_id}'): with gr.Box(): with gr.Row(elem_id=f'{elem_id}_row-collapse-one'): res = comp(label=info.label, value=fun(), elem_id=elem_id, **(args or {})) create_refresh_button(res, info.refresh, info.component_args, "refresh_" + key) - with FormRow(): + with gr.Row(): gr.Checkbox(label='', elem_id=f'{section}_add2quick_{elem_id}', value=True, interactive=True) else: - with FormRow(elem_id=f'row_{elem_id}'): + with gr.Row(elem_id=f'row_{elem_id}'): with gr.Box(): with gr.Row(elem_id=f'{elem_id}_row-collapse-one'): res = comp(label=info.label, value=fun(), elem_id=elem_id, **(args or {})) create_refresh_button(res, info.refresh, info.component_args, "refresh_" + key) - with FormRow(): + with gr.Row(): gr.Checkbox(label='', elem_id=f'{section}_add2quick_{elem_id}', value=False, interactive=True) else: - with FormRow(elem_id=f'row_{elem_id}'): + with gr.Row(elem_id=f'row_{elem_id}'): res = comp(label=info.label, value=fun(), elem_id=elem_id, **(args or {})) gr.Checkbox(label='', elem_id=f'{section}_add2quick_{elem_id}', value=is_quicksettings, interactive=True) diff --git a/style.css b/style.css index 463b6e3c..5da1b202 100644 --- a/style.css +++ b/style.css @@ -1333,8 +1333,9 @@ input.svelte-56zyyb{ } [id^="row_setting_"] { - gap:1px !important; + gap:0px !important; } + [id^="row_setting_"] > div + div.form { flex-grow:0; @@ -2264,6 +2265,16 @@ button.secondary{ top: calc(( var(--ae-outside-gap-size) / 2 ) - 1px); } +#quicksettings_overflow_container > div > div:nth-child(2), +[id$="settings_2img_settings"] > div > div:nth-child(2) { + flex-shrink: 1 !important; + flex-grow: 0 !important; + flex-basis: 0% !important; + min-width: unset; + position: relative; + margin-left: -1px; +} + /* #quicksettings_overflow_container > div:first-child { margin-top: var(--ae-outside-gap-size); @@ -3107,7 +3118,7 @@ input[type=range]::after:: { { scrollbar-color: var(--ae-panel-bg-color) var(--ae-main-bg-color) !important; scrollbar-width: thin !important; - padding: 0 1px; + /*padding: 0 1px;*/ }