Skip to content

Commit

Permalink
style: update nav list style to be more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Sep 24, 2023
1 parent 38e4497 commit 29224ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ const { activeNav } = Astro.props;
nav ul li a {
@apply w-full px-4 py-3 text-center font-medium hover:text-skin-accent sm:my-0 sm:px-2 sm:py-1;
}
nav ul li:nth-child(4) a {
nav ul li:nth-last-child(2) a {
@apply w-auto;
}
nav ul li:nth-child(4),
nav ul li:nth-child(5) {
nav ul li:nth-last-child(1),
nav ul li:nth-last-child(2) {
@apply col-span-1;
}
nav a.active {
Expand Down

0 comments on commit 29224ab

Please sign in to comment.