minor fixes

This commit is contained in:
Vladimir Mandic
2023-07-08 13:17:12 -04:00
parent a79b8c86c2
commit 3e61907bfe
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ function setupExtraNetworksForTab(tabname) {
intersectionObserver = new IntersectionObserver((entries) => {
if (!en) return
for (el of Array.from(gradioApp().querySelectorAll('.extra-network-cards'))) el.style.height = window.opts.extra_networks_height + 'vh';
for (el of Array.from(gradioApp().querySelectorAll('.extra-networks-page'))) el.style.height = window.opts.extra_networks_height + 'vh';
if (entries[0].intersectionRatio > 0) {
if (window.opts.extra_networks_card_cover === 'cover') {
en.style.transition = '';