Skip to content

Commit

Permalink
CORE-4970: do nesting for style overwrite (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Nov 7, 2024
1 parent 8a60746 commit 001f530
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions design/drawer/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
margin: 0;
}

.bar-menu-item {
.bar-menu-list .bar-menu-item {
display: flex;
align-items: center;
padding: var(--drawer-item-padding-y) var(--drawer-item-padding-x);
Expand All @@ -26,19 +26,19 @@
border-radius: var(--component-corner-radius, 2px);
}

.bar-menu-item:link,
.bar-menu-item:visited {
.bar-menu-list .bar-menu-item:link,
.bar-menu-list .bar-menu-item:visited {
text-decoration: none;
}

.bar-menu-item:hover,
.bar-menu-item:focus {
.bar-menu-list .bar-menu-item:hover,
.bar-menu-list .bar-menu-item:focus {
color: inherit;
background: #0000000a;
}

.bar-menu-item:active,
.bar-menu-item.active {
.bar-menu-list .bar-menu-item:active,
.bar-menu-list .bar-menu-item.active {
color: var(--white);
background: var(--primary);
}

0 comments on commit 001f530

Please sign in to comment.