diff --git a/src/App.module.scss b/src/App.module.scss index c678a43..9df3058 100644 --- a/src/App.module.scss +++ b/src/App.module.scss @@ -9,14 +9,23 @@ main.main { justify-content: space-evenly; list-style-type: none; + + li { + flex-basis: 0; + flex-grow: 1; + } } .link { - flex-grow: 1; display: inline-block; + width: 100%; + text-align: center; padding: 12px; + border-top: 4px solid transparent; + user-select: none; } .link-active { - background-color: skyblue; + border-top-color: #09c; + background-color: lightskyblue; } diff --git a/src/App.tsx b/src/App.tsx index 8628c3d..38bd979 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,14 +18,16 @@ function Layout() { return (