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 files

Supprime 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>

Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -318,7 +318,14 @@ CSS = """
318
  }
319
 
320
  /* ── Container & spacing ──────────────────────────────────────────── */
321
- .gradio-container { max-width: 1100px !important; margin: 0 auto !important; padding: 1.5rem 2rem !important; }
 
 
 
 
 
 
 
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
  """