web: wrap run titles and give applied filters a separate row

This commit is contained in:
2026-10-20 17:23:07 +01:00
parent c78def70dd
commit 35040fe13f
3 changed files with 68 additions and 17 deletions
+19 -7
View File
@@ -9,6 +9,8 @@
/* The filter/sort menus hang below the toolbar; keep them unclipped so their
bounded, scrollable box can be reached over the rows beneath. */
overflow: visible;
min-width: 0;
width: 100%;
}
.run-toolbar {
@@ -19,20 +21,30 @@
border-bottom: 1px solid var(--border);
}
.run-toolbar .spacer { flex: 1; }
.run-toolbar .pipeline-filter-chip {
.run-applied-filters {
display: flex;
flex-wrap: wrap;
gap: 6px;
min-width: 0;
padding: 0 12px 8px;
border-bottom: 1px solid var(--border);
}
.run-applied-filters .run-filter-chip {
display: inline-flex;
align-items: center;
gap: 8px;
min-width: 0;
max-width: 100%;
border-color: var(--accent);
color: var(--color-text);
padding: 4px 10px;
font-size: 12px;
}
.pipeline-filter-chip > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-filter-chip > span:first-child { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.run-filter-chip > span:last-child { flex: none; }
@media (max-width: 599px) {
.run-toolbar { flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
.run-toolbar .pipeline-filter-chip { max-width: 100%; min-height: 44px; }
.run-applied-filters .run-filter-chip { min-height: 44px; }
}
.run-toolbar button.ghost { padding: 4px 10px; font-size: 12px; }
.filter-btn.active { border-color: var(--accent); color: var(--accent); }
@@ -135,7 +147,7 @@
color: var(--muted);
}
.run-row { display: block; padding: 8px 12px; }
.run-row { display: block; padding: 8px 12px; width: 100%; min-width: 0; box-sizing: border-box; }
.run-row-head { display: flex; align-items: center; gap: 8px; }
/* The pipeline name leads the row; the stored task title is its second line. */
.run-row-head .run-row-pipeline-name {
@@ -147,9 +159,9 @@
white-space: nowrap;
}
.run-row-title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
white-space: normal;
overflow-wrap: anywhere;
color: var(--color-text);
font-weight: 500;
}