diff --git a/style/main.scss b/style/main.scss index e25a239..babc255 100644 --- a/style/main.scss +++ b/style/main.scss @@ -4495,9 +4495,17 @@ $ansi-colours: ( } .table.runners { + // Every header and cell takes the same 16px gap on its right, so each header sits over its + // content with room to the next column; the last column has none. th, td { - padding-right: 8px; + padding: 10px 16px 10px 0; + vertical-align: middle; + } + + th:last-child, + td:last-child { + padding-right: 0; } th.runner-conc, @@ -4526,16 +4534,30 @@ $ansi-colours: ( text-align: right; } + // Name is the one column that wraps: it takes the rest of the width, but never more than half, so + // the compact columns keep their room even on a wide screen. + th.runner-name, td.runner-name { + width: 50%; min-width: 8rem; overflow-wrap: anywhere; + } + td.runner-name { .runner-label-list { margin-top: 4px; } } + // The commit hash and its status pill sit on one line with a small gap between them. + td.runner-build { + code { + margin-right: 8px; + } + } + td.runner-build > *, + td.runner-conc > *, td.runner-state > * { vertical-align: middle; }