diff options
author | EllangoK <karun.ellango7@gmail.com> | 2023-01-21 16:21:33 -0500 |
---|---|---|
committer | EllangoK <karun.ellango7@gmail.com> | 2023-01-21 16:21:33 -0500 |
commit | bf457b30fbfedb4b6eb2a198cbaa9f2ba071d31f (patch) | |
tree | 58c5a2a3f01e5f4d247f2b5d830e0753a93e6102 | |
parent | f2eae6127d16a80d1516d3f6245b648eeca26330 (diff) |
compact checkbox and fix copy image btn overflow
also fixes type for #tab_extensions in style.css
-rw-r--r-- | modules/ui.py | 2 | ||||
-rw-r--r-- | style.css | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py index af6dfb21..12fc9e6a 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -919,7 +919,7 @@ def create_ui(): seed, reuse_seed, subseed, reuse_subseed, subseed_strength, seed_resize_from_h, seed_resize_from_w, seed_checkbox = create_seed_inputs('img2img')
elif category == "checkboxes":
- with FormRow(elem_id="img2img_checkboxes"):
+ with FormRow(elem_id="img2img_checkboxes", variant="compact"):
restore_faces = gr.Checkbox(label='Restore faces', value=False, visible=len(shared.face_restorers) > 1, elem_id="img2img_restore_faces")
tiling = gr.Checkbox(label='Tiling', value=False, elem_id="img2img_tiling")
@@ -589,7 +589,7 @@ canvas[key="mask"] { /* Extensions */
-#tab_extensions table``{
+#tab_extensions table{
border-collapse: collapse;
}
@@ -718,6 +718,10 @@ footer { margin-left: -0.8em;
}
+#img2img_copy_to_img2img, #img2img_copy_to_sketch, #img2img_copy_to_inpaint, #img2img_copy_to_inpaint_sketch{
+ margin-left: 0em;
+}
+
.inactive{
opacity: 0.5;
}
|