From 443e2ae98f0fbbb8b74a0674397650fa83ffa34b Mon Sep 17 00:00:00 2001 From: Corbin Crutchley Date: Sun, 28 Apr 2024 20:41:24 -0700 Subject: [PATCH] chore: move sidebar icons to only root level --- src/components/Navigation.module.css | 1 - src/components/Navigation.tsx | 23 +++++--- src/lib/navigation.ts | 86 +++++----------------------- 3 files changed, 29 insertions(+), 81 deletions(-) diff --git a/src/components/Navigation.module.css b/src/components/Navigation.module.css index 62f0625d..c735b468 100644 --- a/src/components/Navigation.module.css +++ b/src/components/Navigation.module.css @@ -2,7 +2,6 @@ display: flex; width: 100%; align-items: center; - justify-content: space-between; border-radius: 0.375rem; text-align: left; line-height: 1.5; diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 2ad85aa1..09580a7a 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -35,12 +35,9 @@ function ItemLink({ onClick={item.href ? onLinkClick : undefined} className={clsx(styles.item, className, isSelected && styles.selected)} > -