Skip to content

Commit

Permalink
Add specific class for nav no wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Mar 6, 2024
1 parent 37c0edf commit 56abd5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/assets/css/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
/* Override Bootstrap default tab styles */
.nav-tabs {
border-bottom: 1px solid var(--tabs-border) !important;
}
.nav-tabs-nowrap {
flex-wrap: nowrap !important;
overflow: hidden !important;
}

.nav-tabs .nav-item .nav-link {
display: flex;
align-items: center;
Expand Down
1 change: 1 addition & 0 deletions src/components/TabsBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
v-model="activeTab"
class="h-100 w-100 flat-tabs"
content-class="h-tab"
nav-class="nav-tabs-nowrap"
lazy
@changed="tabsUpdated"
@input="tabOpened"
Expand Down

0 comments on commit 56abd5e

Please sign in to comment.