Skip to content

Commit

Permalink
* Update top nav bar icon to remove focus state style (#3792)
Browse files Browse the repository at this point in the history
Fix "navigation bar icons are still being highlighted after click"
  • Loading branch information
PikachuEXE authored Aug 2, 2023
1 parent d8ed6b9 commit 41fd613
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/renderer/components/top-nav/top-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@

@include top-nav-is-colored {
color: var(--text-with-main-color);

&:hover,
&:focus {
background-color: var(--primary-color-hover);
}
}

&.fa-arrow-left,
Expand All @@ -69,10 +64,13 @@
user-select: none;
}

&:hover,
&:focus {
&:hover {
background-color: var(--side-nav-hover-color);
transition: background 0.2s ease-in;

@include top-nav-is-colored {
background-color: var(--primary-color-hover);
}
}

&:active {
Expand Down

0 comments on commit 41fd613

Please sign in to comment.