Update app.py
Browse files
app.py
CHANGED
|
@@ -475,7 +475,6 @@ css = """
|
|
| 475 |
/* Universal solution - targets any element with both fixed-height and svelte classes */
|
| 476 |
[class*="fixed-height"][class*="svelte-"] {
|
| 477 |
min-height: 0 !important;
|
| 478 |
-
/*max-height: 200px !important;*/
|
| 479 |
height: auto !important;
|
| 480 |
overflow-y: auto !important;
|
| 481 |
}
|
|
@@ -483,7 +482,6 @@ css = """
|
|
| 483 |
/* More specific for grid-wrap containers */
|
| 484 |
[class*="grid-wrap"][class*="svelte-"][class*="fixed-height"] {
|
| 485 |
min-height: 0 !important;
|
| 486 |
-
/*max-height: 200px !important;*/
|
| 487 |
height: auto !important;
|
| 488 |
overflow-y: auto !important;
|
| 489 |
}
|
|
@@ -491,7 +489,6 @@ css = """
|
|
| 491 |
/* Target gallery containers specifically */
|
| 492 |
#my_media_gallery [class*="grid-wrap"] {
|
| 493 |
min-height: 0 !important;
|
| 494 |
-
/*max-height: 200px !important;*/
|
| 495 |
height: auto !important;
|
| 496 |
overflow-y: auto !important;
|
| 497 |
}
|
|
@@ -500,13 +497,11 @@ css = """
|
|
| 500 |
@media (min-width: 1280px) {
|
| 501 |
[class*="fixed-height"][class*="svelte-"] {
|
| 502 |
min-height: 0 !important;
|
| 503 |
-
/*max-height: 200px !important;*/
|
| 504 |
height: auto !important;
|
| 505 |
}
|
| 506 |
|
| 507 |
[class*="grid-wrap"][class*="svelte-"][class*="fixed-height"] {
|
| 508 |
min-height: 0 !important;
|
| 509 |
-
/*max-height: 200px !important;*/
|
| 510 |
height: auto !important;
|
| 511 |
}
|
| 512 |
}
|
|
@@ -519,7 +514,6 @@ div[class*="fixed-height"][class*="svelte-"]:not([style*="min-height"]) {
|
|
| 519 |
/* Target the specific gallery by ID */
|
| 520 |
#my_media_gallery div[class*="grid-wrap"] {
|
| 521 |
min-height: 0 !important;
|
| 522 |
-
max-height: 200px !important;
|
| 523 |
height: auto !important;
|
| 524 |
overflow-y: auto !important;
|
| 525 |
}
|
|
|
|
| 475 |
/* Universal solution - targets any element with both fixed-height and svelte classes */
|
| 476 |
[class*="fixed-height"][class*="svelte-"] {
|
| 477 |
min-height: 0 !important;
|
|
|
|
| 478 |
height: auto !important;
|
| 479 |
overflow-y: auto !important;
|
| 480 |
}
|
|
|
|
| 482 |
/* More specific for grid-wrap containers */
|
| 483 |
[class*="grid-wrap"][class*="svelte-"][class*="fixed-height"] {
|
| 484 |
min-height: 0 !important;
|
|
|
|
| 485 |
height: auto !important;
|
| 486 |
overflow-y: auto !important;
|
| 487 |
}
|
|
|
|
| 489 |
/* Target gallery containers specifically */
|
| 490 |
#my_media_gallery [class*="grid-wrap"] {
|
| 491 |
min-height: 0 !important;
|
|
|
|
| 492 |
height: auto !important;
|
| 493 |
overflow-y: auto !important;
|
| 494 |
}
|
|
|
|
| 497 |
@media (min-width: 1280px) {
|
| 498 |
[class*="fixed-height"][class*="svelte-"] {
|
| 499 |
min-height: 0 !important;
|
|
|
|
| 500 |
height: auto !important;
|
| 501 |
}
|
| 502 |
|
| 503 |
[class*="grid-wrap"][class*="svelte-"][class*="fixed-height"] {
|
| 504 |
min-height: 0 !important;
|
|
|
|
| 505 |
height: auto !important;
|
| 506 |
}
|
| 507 |
}
|
|
|
|
| 514 |
/* Target the specific gallery by ID */
|
| 515 |
#my_media_gallery div[class*="grid-wrap"] {
|
| 516 |
min-height: 0 !important;
|
|
|
|
| 517 |
height: auto !important;
|
| 518 |
overflow-y: auto !important;
|
| 519 |
}
|