Skip to content

Commit

Permalink
fix(components): style fix for nav item when active (#2207)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
owilliams320 and github-actions authored Jul 29, 2024
1 parent 4fd8033 commit 64f173a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions libs/components/src/list/nav-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
display: flex;
flex-shrink: 0;
align-items: center;
background-color: var(--cv-list-item-background-color);
color: var(--cv-list-item-text-color);

mwc-ripple {
border-radius: var(--cv-list-item-border-radius, 100px);
Expand Down
2 changes: 0 additions & 2 deletions libs/components/src/list/nav-list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ export class CovalentNavRailListItem extends CovalentListItem {
return;
}

// transform to a switch case

if (event.code === 'Enter') {
event.preventDefault();
event.stopImmediatePropagation();
Expand Down

0 comments on commit 64f173a

Please sign in to comment.