View tabs that do not fit across the screen fold into a More menu at the end of the row on every list instead of running off the edge, keeping the open tab out and showing the count of an alerting tab in it in red or amber, with the counts kept live

This commit is contained in:
johnnyq
2026-11-20 17:10:22 -05:00
parent 8d9d15d6f7
commit 156bc96693
4 changed files with 226 additions and 0 deletions

View File

@@ -4319,6 +4319,35 @@ img.itflow-asset-icon {
color: inherit;
}
/* Tabs that don't fit fold into More at the end of the bar (js/tab_fold.js).
The bar stops scrolling, so More's menu isn't cut off by it - min-width 0
keeps it as narrow as it was as a scroller, so it still knows it's full. */
.nav.itflow-tabs-fold.overflow-auto {
overflow: visible !important;
min-width: 0;
}
.itflow-tab-folded {
display: none !important;
}
.itflow-tabs-more-toggle {
display: flex;
align-items: center;
padding: .3rem .75rem;
border: 0;
border-radius: var(--bs-nav-pills-border-radius);
background: none;
color: var(--bs-secondary-color);
}
.itflow-tabs-more-toggle:hover,
.itflow-tabs-more-toggle[aria-expanded="true"] {
color: var(--bs-nav-link-hover-color);
}
.itflow-tabs-more .badge:not([class*="text-bg-"]) {
background-color: var(--bs-secondary-bg);
color: var(--bs-secondary-color);
font-weight: 500;
}
/* List rows */
.itflow-asset-table td {
padding-top: .6rem;