aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruocaled <ruocaled@gmail.com>2022-10-15 02:00:46 -0700
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-15 17:14:58 +0300
commit5fd638f14d75a71a37157ded5d33c716ab9eb8ca (patch)
tree7a8ac58467c5e5b59d7c1ab060e11ce06a574c70
parentd3ffc962dd1d5c8d0ed763a9d05832c153ff15ea (diff)
fix download section layout
-rw-r--r--modules/ui.py4
-rw-r--r--style.css7
2 files changed, 2 insertions, 9 deletions
diff --git a/modules/ui.py b/modules/ui.py
index c9b53247..3206113e 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -619,7 +619,7 @@ def create_ui(wrap_gradio_gpu_call):
txt2img_preview = gr.Image(elem_id='txt2img_preview', visible=False)
txt2img_gallery = gr.Gallery(label='Output', show_label=False, elem_id='txt2img_gallery').style(grid=4)
- with gr.Group():
+ with gr.Column():
with gr.Row():
save = gr.Button('Save')
send_to_img2img = gr.Button('Send to img2img')
@@ -834,7 +834,7 @@ def create_ui(wrap_gradio_gpu_call):
img2img_preview = gr.Image(elem_id='img2img_preview', visible=False)
img2img_gallery = gr.Gallery(label='Output', show_label=False, elem_id='img2img_gallery').style(grid=4)
- with gr.Group():
+ with gr.Column():
with gr.Row():
save = gr.Button('Save')
img2img_send_to_img2img = gr.Button('Send to img2img')
diff --git a/style.css b/style.css
index b534f950..920c32ab 100644
--- a/style.css
+++ b/style.css
@@ -237,13 +237,6 @@ fieldset span.text-gray-500, .gr-block.gr-box span.text-gray-500, label.block s
margin: 0;
}
-.gr-panel div.flex-col div.justify-between div{
- position: absolute;
- top: -0.1em;
- right: 1em;
- padding: 0 0.5em;
-}
-
#settings .gr-panel div.flex-col div.justify-between div{
position: relative;
z-index: 200;