Spaces:
Running
Running
cheikhaidev-ui Claude Sonnet 4.6 commited on
Commit ·
32e2766
1
Parent(s): fdf6f1e
style(app): layout pleine largeur — cible .main.fillable + .gradio-container
Browse filesSupprime le max-width 1100px. Remplace par width: 100% sur .gradio-container
et max-width: 100% sur .main.fillable (wrapper interne Gradio limité à 1536px).
Padding 2.5rem desktop, 1rem mobile via media query.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -318,7 +318,14 @@ CSS = """
|
|
| 318 |
}
|
| 319 |
|
| 320 |
/* ── Container & spacing ──────────────────────────────────────────── */
|
| 321 |
-
.gradio-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
|
| 323 |
.ls-results-col { gap: 0.85rem !important; }
|
| 324 |
"""
|
|
|
|
| 318 |
}
|
| 319 |
|
| 320 |
/* ── Container & spacing ──────────────────────────────────────────── */
|
| 321 |
+
.gradio-container { width: 100% !important; max-width: 100% !important; padding: 1.5rem 2.5rem !important; box-sizing: border-box !important; }
|
| 322 |
+
|
| 323 |
+
/* Gradio inner wrapper — also caps width, must be overridden */
|
| 324 |
+
.main.fillable { max-width: 100% !important; }
|
| 325 |
+
|
| 326 |
+
@media (max-width: 640px) {
|
| 327 |
+
.gradio-container { padding: 1rem 1rem !important; }
|
| 328 |
+
}
|
| 329 |
|
| 330 |
.ls-results-col { gap: 0.85rem !important; }
|
| 331 |
"""
|