mirror of
https://github.com/itflow-org/itflow
synced 2026-11-22 12:27:23 +00:00
Tabs on record pages, quick looks, forms, the admin category and tag kinds on a phone and the mail settings fold into More like the list views instead of wrapping onto several lines or scrolling sideways, with More styled as one of the tabs and the open tab and form validation still working
This commit is contained in:
@@ -4319,28 +4319,28 @@ 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 {
|
||||
/* Tabs that don't fit fold into More at the end of the row (js/tab_fold.js).
|
||||
One line, and no scrolling, so More's menu isn't cut off - min-width 0
|
||||
keeps the row as narrow as it was as a scroller, so it still knows it's full. */
|
||||
.nav.itflow-tabs-fold {
|
||||
flex-wrap: nowrap !important;
|
||||
overflow: visible !important;
|
||||
min-width: 0;
|
||||
}
|
||||
.itflow-tabs-fold .nav-link {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.itflow-tab-folded {
|
||||
display: none !important;
|
||||
}
|
||||
/* More is a tab like the others (.nav-link), so it takes the row's look */
|
||||
.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-toggle .badge {
|
||||
margin-right: .25rem;
|
||||
}
|
||||
.itflow-tabs-more .badge:not([class*="text-bg-"]) {
|
||||
background-color: var(--bs-secondary-bg);
|
||||
|
||||
Reference in New Issue
Block a user