Fix nodlogo (#2023)

This commit is contained in:
Ean Garvey
2023-12-06 14:57:16 -06:00
committed by GitHub
parent 2d6f48821d
commit eeb7bdd143
9 changed files with 12 additions and 9 deletions

View File

@@ -129,10 +129,6 @@ body {
padding: 0 var(--size-4) !important;
}
#ui_title {
padding: var(--size-2) 0 0 var(--size-1);
}
#top_logo {
color: transparent;
background-color: transparent;
@@ -140,6 +136,10 @@ body {
border: 0;
}
#ui_title {
padding: var(--size-2) 0 0 var(--size-1);
}
#demo_title_outer {
border-radius: 0;
}
@@ -234,11 +234,6 @@ footer {
display:none;
}
/* Hide the download icon from the nod logo */
#top_logo button {
display: none;
}
/* workarounds for container=false not currently working for dropdowns */
.dropdown_no_container {
padding: 0 !important;

View File

@@ -319,6 +319,7 @@ with gr.Blocks(title="Image-to-Image") as img2img_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():

View File

@@ -234,6 +234,7 @@ with gr.Blocks(title="Inpainting") as inpaint_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():

View File

@@ -26,6 +26,7 @@ with gr.Blocks(title="Lora Training") as lora_train_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():

View File

@@ -239,6 +239,7 @@ with gr.Blocks(title="Outpainting") as outpaint_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():

View File

@@ -84,6 +84,7 @@ with gr.Blocks() as outputgallery_web:
show_label=True,
elem_id="top_logo",
elem_classes="logo_centered",
show_download_button=False,
)
gallery = gr.Gallery(

View File

@@ -243,6 +243,7 @@ with gr.Blocks(title="Text-to-Image-SDXL", theme=theme) as txt2img_sdxl_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():

View File

@@ -325,6 +325,7 @@ with gr.Blocks(title="Text-to-Image", css=dark_theme) as txt2img_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():

View File

@@ -258,6 +258,7 @@ with gr.Blocks(title="Upscaler") as upscaler_web:
elem_id="top_logo",
width=150,
height=50,
show_download_button=False,
)
with gr.Row(elem_id="ui_body"):
with gr.Row():