Skip to content

Commit

Permalink
added top border for first child of side-nav item
Browse files Browse the repository at this point in the history
  • Loading branch information
Shayan Roshan committed Jan 30, 2025
1 parent a6a0b59 commit 3468864
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions sam-styles/packages/components/side-nav/styles/side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,18 @@


.usa-sidenav__item{
@include u-border-top(0);
@include u-border-x('1px');
@include u-border-bottom('1px');
@include u-border('base-light');


&:first-child {
@include u-border-top('1px');
}

&:not(:first-child) {
@include u-border-top(0);
}

&.usa-current > a {
color: color('secondary-dark');
font-weight: font-weight('bold');
Expand Down

0 comments on commit 3468864

Please sign in to comment.