Skip to content

Commit

Permalink
Fixes cosmetic problems with Gradio 3.37.0 (nod-ai#1676)
Browse files Browse the repository at this point in the history
* Fix nod-ai logo having a white border
* Fix control labels having a black background
* Remove extra lower border below Save Prompt checkboxes in Txt2Img UI
  • Loading branch information
one-lithe-rune authored Jul 20, 2023
1 parent 3364691 commit 68b3021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions apps/stable_diffusion/web/ui/css/sd_dark_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,12 @@ body {
padding: 0 var(--size-4) !important;
}

.container {
background-color: black !important;
padding-top: var(--size-5) !important;
}

#ui_title {
padding: var(--size-2) 0 0 var(--size-1);
}

#top_logo {
color: transparent;
background-color: transparent;
border-radius: 0 !important;
border: 0;
Expand Down
2 changes: 1 addition & 1 deletion apps/stable_diffusion/web/ui/txt2img_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def txt2img_api(
value=args.scheduler,
choices=scheduler_list,
)
with gr.Group():
with gr.Column():
save_metadata_to_png = gr.Checkbox(
label="Save prompt information to PNG",
value=args.write_metadata_to_png,
Expand Down

0 comments on commit 68b3021

Please sign in to comment.