Skip to content

Commit

Permalink
chore(sidebar): adjust main menu padding
Browse files Browse the repository at this point in the history
  • Loading branch information
mydearxym committed Sep 26, 2023
1 parent c86ddf9 commit 281789b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ export const MenuItem = styled(Link)<TActive>`
background: ${({ $active }) => ($active ? theme('hoverBg') : 'transparent')};
width: 160px;
text-decoration: none;
height: 32px;
padding-left: 8px;
height: 28px;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 0px;
border-radius: 10px;
cursor: pointer;
Expand Down
12 changes: 6 additions & 6 deletions src/widgets/CustomHeaderLinks/styles/sidebar_layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import LinkSVG from '@/icons/Link'
import ArrowUpRightSVG from '@/icons/ArrowUpRight'
import MoreSVG from '@/icons/menu/MoreL'

import { LinkItem as LinkItemBase, ArrowIcon as ArrowIconBase } from '.'

export { MenuPanel } from '.'
import { LinkItem as LinkItemBase, ArrowIcon as ArrowIconBase, MenuPanel as MenuPanelBase } from '.'

export const Wrapper = styled.div`
gap: 0 16px;
Expand All @@ -19,13 +17,15 @@ export const LinkItem = styled(LinkItemBase)`
font-size: 13px;
width: 160px;
border-radius: 10px;
height: 28px;
margin-top: 3px;
height: 32px;
margin-bottom: 4px;
`

export const MenuPanel = styled(MenuPanelBase)`
gap: 5px 0;
`
export const MenuLinkItem = styled(LinkItem)`
width: 140px !important;
height: 28px;
margin-bottom: 0;
margin-top: 0;
border-radius: 4px;
Expand Down

0 comments on commit 281789b

Please sign in to comment.