Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Make the run summary cards uniform

abe66da2588f6e2d9536260ee963c3df0cd67a25 · Keenan Nemetz · 17d ago · parent 8015a72b

Make the run summary cards uniform

Let the grid stretch every card to the tallest in its row instead of letting
each hug its own content, and pin the first note to the bottom so the notes
share a baseline.

Scope the large value type to the card's own <strong>; it also matched a
<strong> inside a note, so an account name rendered at value size. Linked
values now inherit the value's size and colour, which brings the commit SHA and
the workflow title into the same type scale, and code inside a note inherits
the note's size rather than shrinking.

server/web/static/vole.css +25−7

@@ -1685,19 +1685,20 @@ details[open] > summary .tree-chevron { transform: rotate(90deg); }
1685 1685
1686 1686 /* A run's summary is a row of facts, not a paragraph: how long it took, how
1687 1687 long it waited, what it ran on, which commit it tested, and the workflow
1688 definition it ran. */
1688 definition it ran. The grid stretches every card to the tallest in the row,
1689 and each card reads the same way: a faint label, one value, then muted notes
1690 pinned to the bottom edge. */
1689 1691 .run-summary {
1690 1692 display: grid;
1691 1693 grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
1692 align-items: start;
1693 1694 gap: 10px;
1694 1695 margin: 16px 0;
1695 1696 }
1696 .run-summary .card {
1697 .run-summary > .card {
1697 1698 margin: 0;
1698 1699 display: flex;
1699 1700 flex-direction: column;
1700 gap: 3px;
1701 gap: 4px;
1701 1702 min-width: 0;
1702 1703 }
1703 1704 .run-summary-label {
@@ -1711,14 +1712,31 @@ details[open] > summary .tree-chevron { transform: rotate(90deg); }
1711 1712 text-transform: uppercase;
1712 1713 }
1713 1714 .run-summary-label .icon { width: 12px; height: 12px; }
1714 .run-summary strong {
1715 /* Only the card's own value is large. A <strong> inside a note names an account
1716 and must keep the note's size, or one name dwarfs the sentence around it. */
1717 .run-summary > .card > strong {
1715 1718 font-size: calc(17.6px * var(--font-scale));
1716 1719 font-weight: 600;
1720 color: var(--fg);
1717 1721 font-variant-numeric: tabular-nums;
1718 1722 overflow-wrap: anywhere;
1719 1723 }
1720 .run-summary .status-note { margin: 0; }
1721 .run-summary code { font-size: calc(11.55px * var(--font-scale)); overflow-wrap: anywhere; }
1724 /* A linked value reads like the plain values beside it; colour and underline
1725 wait for hover so the row is one type scale, not four. */
1726 .run-summary > .card > strong a { color: inherit; }
1727 .run-summary > .card > strong a:hover { color: var(--accent); text-decoration: underline; }
1728 .run-summary > .card > strong .sha { font-size: inherit; color: inherit; }
1729 .run-summary .status-note {
1730 margin: 0;
1731 color: var(--fg-muted);
1732 font-size: calc(12.65px * var(--font-scale));
1733 line-height: 1.45;
1734 }
1735 /* The first note absorbs the slack in a taller card, so notes share one baseline
1736 instead of leaving the extra space under the shorter card's last line. */
1737 .run-summary > .card > strong + .status-note { margin-top: auto; }
1738 .run-summary .status-note strong { color: var(--fg); font-weight: 600; }
1739 .run-summary code { font-size: inherit; overflow-wrap: anywhere; }
1722 1740
1723 1741 /* Step logs are loaded on demand. The details element is the trigger; the pre is
1724 1742 the target, and htmx uses textContent so a log can never become markup. */