minor restyling for extra networks

This commit is contained in:
AUTOMATIC1111 2023-07-16 10:44:04 +03:00
parent 690d56f3c1
commit 9d3dd64fe9
2 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,7 @@ import html
from fastapi.exceptions import HTTPException
from modules.generation_parameters_copypaste import image_from_url_text
from modules.ui_components import ToolButton
extra_pages = []
allowed_dirs = set()
@ -377,7 +378,7 @@ def create_ui(container, button, tabname):
gr.Textbox('', show_label=False, elem_id=tabname+"_extra_search", placeholder="Search...", visible=False)
gr.Dropdown(choices=['Default Sort', 'Date Created', 'Date Modified', 'Name'], value='Default Sort', elem_id=tabname+"_extra_sort", multiselect=False, visible=False, show_label=False, interactive=True)
gr.Button(up_down_symbol, elem_id=tabname+"_extra_sortorder")
ToolButton(up_down_symbol, elem_id=tabname+"_extra_sortorder")
button_refresh = gr.Button('Refresh', elem_id=tabname+"_extra_refresh")
ui.button_save_preview = gr.Button('Save preview', elem_id=tabname+"_save_preview", visible=False)

View File

@ -783,8 +783,7 @@ footer {
margin: 0 0.15em;
}
.extra-networks .tab-nav .search,
.extra-networks .tab-nav .sort,
.extra-networks .tab-nav .sortorder{
.extra-networks .tab-nav .sort{
display: inline-block;
margin: 0.3em;
align-self: center;