mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
fix script order
This commit is contained in:
-6477
File diff suppressed because one or more lines are too long
@@ -665,7 +665,7 @@ footer {
|
||||
.extra-network-cards .card ul a:hover{ color: red; }
|
||||
.theme-preview { display: none; position: fixed; border: 4px solid var(--neutral-600); box-shadow: 2px 2px 2px 2px var(--neutral-700); top: 0; bottom: 0; left: 0; right: 0; margin: auto; max-width: 75vw; z-index: 999; }
|
||||
|
||||
#scripts_alwayson_txt2img, scripts_alwayson_img2img { display: grid }
|
||||
#scripts_alwayson_txt2img, #scripts_alwayson_img2img { display: grid }
|
||||
|
||||
#extras_generate, #extras_interrupt, #extras_skip { display: block !important; position: relative; height: 36px; }
|
||||
#extras_upscale { margin-top: 10px }
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* global gradioApp */
|
||||
/* global gradioApp, onUiUpdate, opts */
|
||||
|
||||
window.opts = {};
|
||||
let tabSelected = '';
|
||||
@@ -368,7 +368,7 @@ function sort_ui_elements() {
|
||||
const scriptsTxt = gradioApp().getElementById('scripts_alwayson_txt2img').children;
|
||||
for (const el of Array.from(scriptsTxt)) el.style.order = find(el, tabsOrder);
|
||||
|
||||
const scriptsImg = gradioApp().getElementById('scripts_alwayson_img2img');
|
||||
const scriptsImg = gradioApp().getElementById('scripts_alwayson_img2img').children;
|
||||
for (const el of Array.from(scriptsImg)) el.style.order = find(el, tabsOrder);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user