Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -87,16 +87,14 @@ css = """
|
|
87 |
/* Accordion Styling */
|
88 |
.accordion {
|
89 |
width: 100%; /* Set the width of the accordion to match the parent */
|
90 |
-
max-height:
|
91 |
-
overflow-y: auto; /* Allow scrolling if the content exceeds max height */
|
92 |
margin-bottom: 10px; /* Add space below accordion */
|
93 |
box-sizing: border-box; /* Ensure padding is included in width/height */
|
94 |
}
|
95 |
|
96 |
/* Accordion content max-height */
|
97 |
.accordion-content {
|
98 |
-
max-height:
|
99 |
-
overflow-y: auto; /* Add a scrollbar if content overflows */
|
100 |
}
|
101 |
|
102 |
.demo-banner {
|
|
|
87 |
/* Accordion Styling */
|
88 |
.accordion {
|
89 |
width: 100%; /* Set the width of the accordion to match the parent */
|
90 |
+
max-height: auto; /* Set a auto-height for accordion */
|
|
|
91 |
margin-bottom: 10px; /* Add space below accordion */
|
92 |
box-sizing: border-box; /* Ensure padding is included in width/height */
|
93 |
}
|
94 |
|
95 |
/* Accordion content max-height */
|
96 |
.accordion-content {
|
97 |
+
max-height: auto; /* auto the height of the content */
|
|
|
98 |
}
|
99 |
|
100 |
.demo-banner {
|