victor HF Staff commited on
Commit
84216fc
·
1 Parent(s): 97f525d

Fix infinite scroll by enforcing overflow hidden and hiding footer

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -135,7 +135,9 @@ body, .gradio-container {
135
  color: #ffffff !important;
136
  font-family: 'Inter', sans-serif !important;
137
  margin: 0;
138
- padding: 0;
 
 
139
  --color-background-primary: #000000;
140
  --color-background-secondary: #050505;
141
  --color-border-primary: #171717;
@@ -143,6 +145,10 @@ body, .gradio-container {
143
  --color-text-secondary: #a3a3a3;
144
  }
145
 
 
 
 
 
146
  /* Layout */
147
  #main-container {
148
  height: 100vh !important;
 
135
  color: #ffffff !important;
136
  font-family: 'Inter', sans-serif !important;
137
  margin: 0;
138
+ padding: 0 !important;
139
+ overflow: hidden !important;
140
+ height: 100vh !important;
141
  --color-background-primary: #000000;
142
  --color-background-secondary: #050505;
143
  --color-border-primary: #171717;
 
145
  --color-text-secondary: #a3a3a3;
146
  }
147
 
148
+ footer {
149
+ display: none !important;
150
+ }
151
+
152
  /* Layout */
153
  #main-container {
154
  height: 100vh !important;