@@ -2350,8 +2350,8 @@ def create_hub_page(results: list[dict]) -> None:
23502350 50% {{ opacity: 0.9; }}
23512351 }}
23522352 .header p {{ color: #8b949e; font-size: 15px; max-width: 700px; margin: 0 auto; }}
2353- .stats {{ display: flex; gap: 24px ; justify-content: center; margin-top: 16px; }}
2354- .stat {{ display: flex; align-items: center; gap: 6px; font-size: 14px; }}
2353+ .stats {{ display: flex; gap: 12px 20px ; justify-content: center; margin-top: 16px; flex-wrap: wrap; padding: 0 16px; }}
2354+ .stat {{ display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }}
23552355 .stat-num {{ font-size: 22px; font-weight: 700; }}
23562356 .stat-ok .stat-num {{ color: #a6e3a1; }}
23572357 .stat-fail .stat-num {{ color: #f38ba8; }}
@@ -2361,6 +2361,7 @@ def create_hub_page(results: list[dict]) -> None:
23612361 .stat-cov {{
23622362 background: #1e3a3a; border: 1px solid #94e2d5; border-radius: 20px;
23632363 padding: 4px 14px; color: #fff; transition: background 0.2s;
2364+ white-space: nowrap;
23642365 }}
23652366 .stat-cov:hover {{ background: #264d4d; }}
23662367 .stat-cov .stat-num {{ color: #94e2d5; }}
@@ -2369,11 +2370,19 @@ def create_hub_page(results: list[dict]) -> None:
23692370 .stat-dim {{
23702371 background: #1e2a3a; border: 1px solid #89b4fa; border-radius: 20px;
23712372 padding: 4px 14px; color: #fff; transition: background 0.2s;
2373+ white-space: nowrap;
23722374 }}
23732375 .stat-dim:hover {{ background: #263d5a; }}
23742376 .stat-dim .stat-num {{ color: #89b4fa; }}
23752377 .stat-dim .chevron {{ margin-left: 2px; font-size: 16px; color: #89b4fa; }}
23762378
2379+ @media (max-width: 480px) {{
2380+ .stats {{ gap: 8px 12px; padding: 0 8px; }}
2381+ .stat-num {{ font-size: 18px; }}
2382+ .stat {{ font-size: 12px; gap: 4px; }}
2383+ .stat-cov, .stat-dim {{ padding: 3px 10px; font-size: 12px; }}
2384+ }}
2385+
23772386 .filter-bar {{
23782387 max-width: 1200px; margin: 20px auto 0; padding: 0 24px;
23792388 display: flex; gap: 8px; flex-wrap: wrap;
0 commit comments