aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-26 23:09:59 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-26 23:09:59 +0100
commitf129069cbfcd29f3fd9ba0c8f4ca3b0167489e03 (patch)
tree8b6cc8548f1adb703f817d2475f67002c4a4deef /components
parentee5d547f1728d87331cb3e8def517b93793627dc (diff)
smol layout fix
Diffstat (limited to 'components')
-rw-r--r--components/navbar.tsx14
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>
}