chrissoria commited on
Commit
2b0189e
·
1 Parent(s): e0e2c93

Force desktop layout on all devices (disable mobile responsive)

Browse files
Files changed (1) hide show
  1. app.py +6 -14
app.py CHANGED
@@ -1207,22 +1207,14 @@ custom_css = """
1207
  * {
1208
  font-family: Helvetica, Arial, sans-serif !important;
1209
  }
1210
- .task-btn {
1211
- min-width: 150px !important;
 
 
1212
  }
1213
 
1214
- /* Global fix for file upload SVG icons - affects all screen sizes */
1215
- button[aria-label*="pload"] svg,
1216
- button[aria-label*="ile"] svg,
1217
- .wrap svg,
1218
- [data-testid="file"] svg,
1219
- .upload-container svg {
1220
- width: 48px !important;
1221
- height: 48px !important;
1222
- max-width: 48px !important;
1223
- max-height: 48px !important;
1224
- min-width: 24px !important;
1225
- min-height: 24px !important;
1226
  }
1227
 
1228
  /* Expandable plot styles */
 
1207
  * {
1208
  font-family: Helvetica, Arial, sans-serif !important;
1209
  }
1210
+
1211
+ /* Force desktop layout on all devices */
1212
+ body, .gradio-container, .main, .contain {
1213
+ min-width: 900px !important;
1214
  }
1215
 
1216
+ .task-btn {
1217
+ min-width: 150px !important;
 
 
 
 
 
 
 
 
 
 
1218
  }
1219
 
1220
  /* Expandable plot styles */