From bea3c0fbe4bda39810435a49df062f02ad528e67 Mon Sep 17 00:00:00 2001 From: tim h Date: Sun, 15 Jan 2023 10:31:27 -0600 Subject: [PATCH] honestly not sure if hacky refresh button on right-hand side of model selector is definitely better GUARANTEE css is distressingly hacky --- css/index.css | 5 +++++ css/ui/generic.css | 4 ++++ index.html | 16 +++++++++++----- js/index.js | 5 ++++- js/lib/ui.js | 16 +++++++++++++++- pages/configuration.html | 4 ++-- res/icons/refresh-cw.svg | 7 +++++++ 7 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 res/icons/refresh-cw.svg diff --git a/css/index.css b/css/index.css index 0585f43..0452535 100644 --- a/css/index.css +++ b/css/index.css @@ -650,3 +650,8 @@ select > .style-select-option:active { .thirdwidth { max-width: 33%; } + +.refreshbutton { + max-width: 50%; + max-height: 50%; +} diff --git a/css/ui/generic.css b/css/ui/generic.css index 09eb6ea..036b905 100644 --- a/css/ui/generic.css +++ b/css/ui/generic.css @@ -212,6 +212,10 @@ div.autocomplete > .autocomplete-text { width: 100%; } +div.autocomplete > .refreshable { + width: 82% !important; +} + div.autocomplete > .autocomplete-list { position: absolute; diff --git a/index.html b/index.html index 3703fd3..6ce78f7 100644 --- a/index.html +++ b/index.html @@ -7,10 +7,10 @@ - + - + @@ -83,9 +83,15 @@ Stable Diffusion settings
-
+
@@ -349,7 +355,7 @@ - + - +