Skip to content

Commit 5f19bdd

Browse files
authored
fixes left padding of home link icon to better align with right side icons (#12)
1 parent 6b73025 commit 5f19bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/Navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default function Navbar(
182182
to="/"
183183
inactiveProps={{ className: navStyles.inactive }}
184184
activeOptions={{ exact: true }}
185-
className="flex cursor-pointer items-center justify-center px-1 py-0 m-0 size-[3rem] rounded-full bg-transparent shadow-none border-solid focus-visible:ring-1 focus-visible:ring-blue-500 hover:bg-night-sky-300 dark:hover:bg-night-sky-700 justify-self-start"
185+
className="flex cursor-pointer items-center justify-center mx-1 px-1 py-0 m-0 size-[3rem] rounded-full bg-transparent shadow-none border-solid focus-visible:ring-1 focus-visible:ring-blue-500 hover:bg-night-sky-300 dark:hover:bg-night-sky-700 justify-self-start"
186186
resetScroll
187187
aria-label="Home page link"
188188
>
@@ -230,7 +230,7 @@ export default function Navbar(
230230
to="/"
231231
inactiveProps={{ className: navStyles.inactive }}
232232
activeOptions={{ exact: true }}
233-
className="flex cursor-pointer items-center justify-center px-1 py-0 m-0 size-[3rem] rounded-full bg-transparent shadow-none border-solid focus-visible:ring-1 focus-visible:ring-blue-500"
233+
className="flex cursor-pointer items-center justify-center px-1 mx-4 py-0 m-0 size-[3rem] rounded-full bg-transparent shadow-none border-solid focus-visible:ring-1 focus-visible:ring-blue-500"
234234
resetScroll
235235
>
236236
<img

0 commit comments

Comments
 (0)