diff --git a/public/spc_test.html b/public/spc_test.html index fcd3a61..8cb2c7a 100644 --- a/public/spc_test.html +++ b/public/spc_test.html @@ -268,6 +268,49 @@ border-radius: 8px; } + .chart-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 12px; + margin-bottom: 16px; + } + + .chart-card { + border: 1px solid var(--line); + border-radius: 8px; + background: #ffffff; + overflow: hidden; + } + + .chart-card.wide { + grid-column: 1 / -1; + } + + .chart-title { + display: flex; + align-items: center; + justify-content: space-between; + min-height: 42px; + padding: 10px 12px; + border-bottom: 1px solid var(--line); + background: #f7faf8; + color: var(--muted); + font-size: 13px; + font-weight: 750; + } + + .chart { + width: 100%; + height: 300px; + } + + .chart.empty { + display: grid; + place-items: center; + color: var(--muted); + font-size: 13px; + } + table { width: 100%; border-collapse: collapse; @@ -385,6 +428,10 @@ .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } + + .chart-grid { + grid-template-columns: 1fr; + } } @media (max-width: 560px) { @@ -480,6 +527,37 @@ +