diff --git a/services/gateway/static/index.html b/services/gateway/static/index.html index 4ce297f..c2af24c 100644 --- a/services/gateway/static/index.html +++ b/services/gateway/static/index.html @@ -34,12 +34,6 @@ -
-

Result

-

Round-trip: -- ms · request_id: --

-
(nothing yet)
-
-

Load burst

+
+

Result

+

Round-trip: -- ms · request_id: --

+
(nothing yet)
+
+

Chaos

diff --git a/services/gateway/static/style.css b/services/gateway/static/style.css index 7088297..a7aceca 100644 --- a/services/gateway/static/style.css +++ b/services/gateway/static/style.css @@ -39,13 +39,34 @@ header h1 { font-size: 0.85rem; } +/* 6-column grid: row 1 panels span 3 (half), row 2 panels span 2 (third). + The grid gap is subtracted before dividing, so with gap g and width W + a half panel is (W - g) / 2 and a third panel is (W - 2g) / 3. */ main { display: grid; - grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); + grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; } +main > section { + grid-column: span 2; + min-width: 0; +} + +#submit-panel, +#load-panel { + grid-column: span 3; +} + +@media (max-width: 900px) { + main > section, + #submit-panel, + #load-panel { + grid-column: 1 / -1; + } +} + section { background: var(--panel); border: 1px solid var(--border);