jer233 commited on
Commit
7c8d189
·
verified ·
1 Parent(s): 02185e1

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +6 -0
demo.py CHANGED
@@ -74,6 +74,12 @@ css = """
74
  .gradio-dropdown select {
75
  height: 100px; /* Set height to 100px */
76
  }
 
 
 
 
 
 
77
  """
78
 
79
  # Gradio App
 
74
  .gradio-dropdown select {
75
  height: 100px; /* Set height to 100px */
76
  }
77
+
78
+ /* Fix the height of accordions to avoid shifting layout */
79
+ .gradio-accordion {
80
+ height: 150px; /* Set a fixed height for the accordion */
81
+ overflow: hidden; /* Hide content overflow if the content is larger */
82
+ }
83
  """
84
 
85
  # Gradio App