From 8b273496f3bc819e56d2e02c5faa5706dac18cc5 Mon Sep 17 00:00:00 2001 From: anapnoe <124302297+anapnoe@users.noreply.github.com> Date: Wed, 29 Mar 2023 14:13:01 +0300 Subject: [PATCH] fix height for search box in extra networks --- modules/ui_extra_networks.py | 1 - style.css | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py index 77d2194c..813e7a84 100644 --- a/modules/ui_extra_networks.py +++ b/modules/ui_extra_networks.py @@ -157,7 +157,6 @@ class ExtraNetworksPage: file_name = os.path.basename(path) location = os.path.dirname(path) preview_path = location + "/preview/" + file_name - potential_files = sum([[path + "." + ext, path + ".preview." + ext, preview_path + "." + ext, preview_path + ".preview." + ext] for ext in preview_extensions], []) for file in potential_files: diff --git a/style.css b/style.css index f726b4ea..5d1f9f36 100644 --- a/style.css +++ b/style.css @@ -2793,7 +2793,7 @@ ul.list-none { border: 0; flex-grow: 1; padding-bottom: 0px !important; - min-height: 32px; + min-height: 34px !important; } .extra-networks .search @@ -2830,7 +2830,7 @@ ul.list-none { overflow-x: hidden; grid-template-rows: auto; grid-auto-flow: row; - max-height: calc(100vh - 216px); + max-height: calc(100vh - 230px); }