jer233 commited on
Commit
8e16ba7
·
verified ·
1 Parent(s): 7c8d189

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +4 -4
demo.py CHANGED
@@ -75,11 +75,11 @@ css = """
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
 
75
  height: 100px; /* Set height to 100px */
76
  }
77
 
78
+ /* Use min-height for accordion stability */
79
+ .gradio-row {
80
+ min-height: 500px; /* Prevent layout shift by setting a min-height */
 
81
  }
82
+
83
  """
84
 
85
  # Gradio App