Skip to content

Commit

Permalink
Make tab-nav a bit more responsive
Browse files Browse the repository at this point in the history
Fixes #2473
  • Loading branch information
tomalec committed Nov 30, 2024
1 parent c0ff8fc commit d1961da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/components/app-tab-nav/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.app-tab-nav__tabs {
display: flex;
flex-wrap: wrap;
align-items: stretch;
box-shadow: inset 0 -1px 0 $gray-400;
margin-bottom: var(--main-gap);
Expand All @@ -15,6 +16,7 @@
margin-left: 0;
font-weight: 500;
box-sizing: border-box;
box-shadow: inset 0 -1px 0 #ccc;

// This pseudo-element "duplicates" the tab label and sets the text to bold.
// This ensures that the tab doesn't change width when selected.
Expand Down

0 comments on commit d1961da

Please sign in to comment.