diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 2392972..3e6b6cc 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -21,6 +21,8 @@ const { current = '' } = Astro.props; display: block; position: relative; margin-left: 20px; + min-width: 70px; + text-align: center; } a:not(.selected) { diff --git a/src/pages/index.astro b/src/pages/index.astro index 4312740..6391a2a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -37,6 +37,7 @@ const permalink = Astro.site.href; .home-copy { flex: 1; + padding: 0 1em; } h1 {