Files changed (1) hide show
  1. style.css +21 -0
style.css CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Sidebar Container */
2
  #custom-sidebar {
3
  background-color: #0f172a !important;
 
1
+ html, body, .gradio-container {
2
+ max-height: 100vh !important;
3
+ height: 100vh !important;
4
+ overflow-y: auto !important;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ /* 2. Ensure nested layout structures handle their own overflowing content */
10
+ .gradio-container-5-0-0,
11
+ .gradio-container > .wrap,
12
+ #component-0 {
13
+ height: 100% !important;
14
+ overflow-y: auto !important;
15
+ }
16
+
17
+ /* 3. If you have a sidebar or main gallery grid, make sure they don't force a page stretch */
18
+ .gradio-row, .gradio-main, .grid {
19
+ max-height: 100% !important;
20
+ }
21
+
22
  /* Sidebar Container */
23
  #custom-sidebar {
24
  background-color: #0f172a !important;