diff --git a/static/daybook.css b/static/daybook.css index c23e84a..e5239fe 100644 --- a/static/daybook.css +++ b/static/daybook.css @@ -556,6 +556,21 @@ h1 { padding: 0; } +/* When a single source is selected, the per-row source column is redundant + (every row has the same source), so drop it and give the space back to the + title. Shown only under "All sources". */ +.artifact-list.no-source-col .artifact-row { + grid-template-columns: 3.15rem minmax(0, 1fr); +} + +.artifact-list.no-source-col .artifact-source { + display: none; +} + +.artifact-list.no-source-col .artifact-row-main { + border-right: 0; +} + .artifact-row:hover { background: var(--row-hover); box-shadow: none; diff --git a/templates/artifacts/feed.html b/templates/artifacts/feed.html index 7b4287a..713a065 100644 --- a/templates/artifacts/feed.html +++ b/templates/artifacts/feed.html @@ -53,7 +53,7 @@ {{ artifacts|length }} artifact{{ artifacts|length|pluralize }} -