mirror of
https://github.com/vladmandic/automatic
synced 2026-09-07 05:20:47 +02:00
modularize en
This commit is contained in:
@@ -357,8 +357,8 @@ function setupExtraNetworksForTab(tabname) {
|
||||
};
|
||||
|
||||
// en style
|
||||
if (!en) return;
|
||||
const intersectionObserver = new IntersectionObserver((entries) => {
|
||||
if (!en) return;
|
||||
for (const el of Array.from(gradioApp().querySelectorAll('.extra-networks-page'))) {
|
||||
el.style.height = `${window.opts.extra_networks_height}vh`;
|
||||
el.parentElement.style.width = '-webkit-fill-available';
|
||||
|
||||
Reference in New Issue
Block a user