Skip to content

Commit

Permalink
Remove margin-right on last item
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieroberto committed Sep 27, 2024
1 parent 45155f6 commit 9ec8624
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,11 @@
text-decoration: underline;
white-space: nowrap;

/* Last item in the nav doesn't need margin on the right */
&:last-of-type {
margin-right: 0;
}

@include mq($from: tablet) {
padding: 12px 0;
}
Expand Down

0 comments on commit 9ec8624

Please sign in to comment.