Skip to content

Commit

Permalink
tried to clean up sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans committed Nov 13, 2024
1 parent 316c860 commit 9462abb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .changeset/hip-cooks-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
11 changes: 2 additions & 9 deletions packages/apps/dev-wallet/src/App/Layout/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const SideBar: FC = () => {
}
context={
<>
<>
<SideBarItem visual={<MonoWarning />} label="warning">
{isExpanded ? (
<BetaHeader />
) : (
Expand All @@ -142,7 +142,7 @@ export const SideBar: FC = () => {
</Text>
</Stack>
)}
</>
</SideBarItem>

<SideBarItemsInline>
<SideBarItem visual={<MonoContacts />} label="Profile">
Expand All @@ -162,13 +162,6 @@ export const SideBar: FC = () => {
</Button>
}
>
<Stack
paddingInline={'md'}
paddingBlockStart={'md'}
paddingBlockEnd={'sm'}
>
<Heading variant="h6">Switch Profile</Heading>
</Stack>
{profileList.map((prf, index) => (
<ContextMenuItem
key={prf.uuid}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const menuNavWrapperClass = style([
flex: 1,
}),
{
overflowY: 'scroll',
overflowY: 'hidden',
},
]);

Expand Down

0 comments on commit 9462abb

Please sign in to comment.