mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 00:34:33 +02:00
fix lyco patch and validate settings
This commit is contained in:
@@ -179,7 +179,7 @@ function setupExtraNetworksForTab(tabname) {
|
||||
if (entries[0].intersectionRatio > 0) {
|
||||
if (window.opts.extra_networks_card_cover === 'cover') {
|
||||
en.style.transition = '';
|
||||
en.style.zIndex = 9999;
|
||||
en.style.zIndex = 100;
|
||||
en.style.position = 'absolute';
|
||||
en.style.right = 'unset';
|
||||
en.style.width = 'unset';
|
||||
@@ -187,7 +187,7 @@ function setupExtraNetworksForTab(tabname) {
|
||||
gradioApp().getElementById(`${tabname}_settings`).parentNode.style.width = 'unset';
|
||||
} else if (window.opts.extra_networks_card_cover === 'sidebar') {
|
||||
en.style.transition = 'width 0.2s ease';
|
||||
en.style.zIndex = 9999;
|
||||
en.style.zIndex = 100;
|
||||
en.style.position = 'absolute';
|
||||
en.style.right = '0';
|
||||
en.style.width = `${window.opts.extra_networks_sidebar_width}vw`;
|
||||
|
||||
Reference in New Issue
Block a user