From a005f5378e0451c71fc4d13c226c061f5611060f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 25 Sep 2024 16:04:17 -0500 Subject: [PATCH] Fix nav item icon width and alignment --- src/view/shell/desktop/LeftNav.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 18794fb4cd..aee0ae4024 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -65,7 +65,7 @@ import { } from '#/components/icons/UserCircle' import {router} from '../../../routes' -const NAV_ICON_WIDTH = 28 +const NAV_ICON_WIDTH = 24 function ProfileCard() { const {currentAccount} = useSession() @@ -450,11 +450,8 @@ const styles = StyleSheet.create({ gap: 10, }, navItemIconWrapper: { - alignItems: 'center', - justifyContent: 'center', - width: 28, + width: 24, height: 24, - marginTop: 2, zIndex: 1, }, navItemIconWrapperTablet: {