Spaces:
Sleeping
Sleeping
fix(ui): make the page fill the full window width
Browse filesfill_width=True plus an explicit width:100% on .gradio-container; the
auto side margins in a flex parent were shrinking it to content width.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1188 unmodified lines1189119011911192119311941195310 unmodified lines15061507150815091510151115121188 unmodified lines/* ── Gradio container ── */.gradio-container {max-width: 1600px !important;margin: 0 auto !important;background: transparent !important;padding: 0 16px 32px !important;310 unmodified lines"""with gr.Blocks(title="臺灣 Open Data 視覺化儀表板", css=custom_css) as demo:# ── Hero Header ──────────────────────────────────────gr.HTML("""1188 unmodified lines11891190119111921193119411951196310 unmodified lines15071508150915101511151215131188 unmodified lines/* ── Gradio container ── */.gradio-container {width: 100% !important;max-width: 100% !important;margin: 0 auto !important;background: transparent !important;padding: 0 16px 32px !important;310 unmodified lines"""with gr.Blocks(title="臺灣 Open Data 視覺化儀表板", css=custom_css, fill_width=True) as demo:# ── Hero Header ──────────────────────────────────────gr.HTML("""
app.py+3-2