Skip to content

Commit

Permalink
Merge pull request #205 from element-hq/midhun/fix-tabs-style
Browse files Browse the repository at this point in the history
Fix incorrect styling of tab item
  • Loading branch information
MidhunSureshR authored Jul 9, 2024
2 parents cbc1d4d + 062b92d commit 88df11c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/components/Nav/Nav.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
box-sizing: border-box;
background: transparent;
border: 0;
font: var(--cpd-font-body-md-regular);
font: var(--cpd-font-body-md-medium);
color: var(--cpd-color-text-secondary);
text-decoration: none;
}
Expand All @@ -86,7 +86,8 @@
background-color: var(--cpd-color-bg-subtle-primary);
}

.nav-item[aria-current] {
.nav-item[aria-current],
.nav-item[aria-selected="true"] {
color: var(--cpd-color-text-primary);
}

Expand Down

0 comments on commit 88df11c

Please sign in to comment.