diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-26 23:09:59 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-26 23:09:59 +0100 |
commit | f129069cbfcd29f3fd9ba0c8f4ca3b0167489e03 (patch) | |
tree | 8b6cc8548f1adb703f817d2475f67002c4a4deef | |
parent | ee5d547f1728d87331cb3e8def517b93793627dc (diff) |
smol layout fix
-rw-r--r-- | components/navbar.tsx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/components/navbar.tsx b/components/navbar.tsx index 318d673..cbbd164 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -28,7 +28,17 @@ export default function Navbar(props: { page?: string; }) { return <div style={{ marginBottom: 24 }}> - <NavbarItem active={props.page == "home"} icon={<HomeRoundedIcon/>} title="Home" href="/"/> - <NavbarItem active={props.page == "search"} icon={<SearchRoundedIcon/>} title="Search for posts" href="/search"/> + <NavbarItem + active={props.page == "home"} + icon={<HomeRoundedIcon/>} + title="Home" + href="/" + classList={["indentLevel0"]}/> + <NavbarItem + active={props.page == "search"} + icon={<SearchRoundedIcon/>} + title="Search for posts" + href="/search" + classList={["indentLevel0"]}/> </div> } |