miyuki17 commited on
Commit
27ac3bf
·
verified ·
1 Parent(s): 991321d

Keep full-width Gradio design token in shared WR92 theme

Browse files
Files changed (1) hide show
  1. wr92-theme.css +6 -1
wr92-theme.css CHANGED
@@ -158,7 +158,12 @@ body .site-shell .section-top h2 {font-size:clamp(26px,2.8vw,36px);}
158
  .wr92-flow-panel .flow-receipt {max-height:170px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fa;padding:10px;border-radius:7px;color:#526176;}
159
  .wr92-flow-panel .flow-open-link {display:inline-flex;margin-top:12px;color:#245eac;text-decoration:underline;font-size:12px;font-weight:750;}
160
  /* Gradio exposes the same navigation and visual tokens without changing GPU callbacks. */
161
- .gradio-container {max-width:1220px!important;margin:0 auto!important;background:var(--wr-canvas)!important;color:var(--wr-ink)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;}
 
 
 
 
 
162
  .gradio-container h1 {font-size:clamp(2.4rem,4vw,3.7rem);letter-spacing:-.04em;line-height:1.13;}
163
  .gradio-container h2 {letter-spacing:-.025em;}
164
  .gradio-container .prose {color:var(--wr-ink);line-height:1.68;}
 
158
  .wr92-flow-panel .flow-receipt {max-height:170px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fa;padding:10px;border-radius:7px;color:#526176;}
159
  .wr92-flow-panel .flow-open-link {display:inline-flex;margin-top:12px;color:#245eac;text-decoration:underline;font-size:12px;font-weight:750;}
160
  /* Gradio exposes the same navigation and visual tokens without changing GPU callbacks. */
161
+ .gradio-container {
162
+ width:100%!important;max-width:none!important;margin:0!important;
163
+ padding-inline:max(16px,calc((100vw - 1160px)/2))!important;
164
+ background:var(--wr-canvas)!important;color:var(--wr-ink)!important;
165
+ font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
166
+ }
167
  .gradio-container h1 {font-size:clamp(2.4rem,4vw,3.7rem);letter-spacing:-.04em;line-height:1.13;}
168
  .gradio-container h2 {letter-spacing:-.025em;}
169
  .gradio-container .prose {color:var(--wr-ink);line-height:1.68;}