diff --git a/src/components/MenuItem.astro b/src/components/MenuItem.astro index dca56b9..3eaea11 100644 --- a/src/components/MenuItem.astro +++ b/src/components/MenuItem.astro @@ -24,6 +24,14 @@ const { name, link, icon } = Astro.props; // 0.6rem = horizontal padding padding: 0 0.6rem; font-size: 1.15rem; + + &:first-child { + padding-left: 0; + } + + &:last-child { + padding-right: 0; + } } a { diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7ae7b44..a177dc0 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -25,6 +25,7 @@ const { title, description } = Astro.props;