jer233 commited on
Commit
8570cc3
·
verified ·
1 Parent(s): 4bd57a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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: 200px; /* Set a max-height for accordion */
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: 200px; /* Limit the height of the content */
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 {