Update app.py
Browse files471 unmodified lines472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531471 unmodified linesmargin: 5px !important;}/* Target the correct Svelte class from Hugging Face Spaces */.fixed-height.svelte-1atirkn.svelte-1atirkn {min-height: 0 !important;max-height: 200px !important;height: auto !important;}/* Also target the local class in case it's still used */.fixed-height.svelte-842rpi.svelte-842rpi {min-height: 0 !important;max-height: 200px !important;height: auto !important;}/* Generic fallback for any fixed-height grid-wrap */.grid-wrap.fixed-height {min-height: 0 !important;max-height: 200px !important;height: auto !important;overflow-y: auto !important;}/* More specific targeting for gallery containers */.svelte-vt1mxs .grid-wrap.svelte-1atirkn.fixed-height {min-height: 0 !important;max-height: 200px !important;height: auto !important;}/* Media query for larger screens */@media (min-width: 1280px) {.fixed-height.svelte-1atirkn.svelte-1atirkn,.fixed-height.svelte-842rpi.svelte-842rpi {min-height: 0 !important;max-height: 200px !important;height: auto !important;}.grid-wrap.fixed-height {min-height: 0 !important;max-height: 200px !important;height: auto !important;}}/* Additional universal overrides with high specificity */div[class*="fixed-height"][class*="svelte-"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;}/* Target any grid-wrap with fixed-height regardless of Svelte hash */[class*="grid-wrap"][class*="fixed-height"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;471 unmodified lines472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523471 unmodified linesmargin: 5px !important;}/* Universal solution - targets any element with both fixed-height and svelte classes */[class*="fixed-height"][class*="svelte-"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;overflow-y: auto !important;}/* More specific for grid-wrap containers */[class*="grid-wrap"][class*="svelte-"][class*="fixed-height"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;overflow-y: auto !important;}/* Target gallery containers specifically */#my_media_gallery [class*="grid-wrap"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;overflow-y: auto !important;}/* Media query version */@media (min-width: 1280px) {[class*="fixed-height"][class*="svelte-"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;}[class*="grid-wrap"][class*="svelte-"][class*="fixed-height"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;}}/* Fallback with even higher specificity */div[class*="fixed-height"][class*="svelte-"]:not([style*="min-height"]) {min-height: 0 !important;}/* Target the specific gallery by ID */#my_media_gallery div[class*="grid-wrap"] {min-height: 0 !important;max-height: 200px !important;height: auto !important;
app.py+15-23