Skip to content

Commit aa4ee75

Browse files
Removed padding for left sidebar elements (#184)
* Removed padding for left sidebar elements * small padding change on NavTreeHeading
1 parent 33522cc commit aa4ee75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/NavTree.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const NavTreeItem = ({
6868
const { sx: linkSx, ...linkOtherProps } = linkProps
6969
const { sx: diamondSx, ...diamondOtherProps } = diamondProps
7070
return (
71-
<li sx={{ py: Spacing.M }} {...props}>
71+
<li {...props}>
7272
<Link
7373
href={href}
7474
target={target}
@@ -127,7 +127,7 @@ const NavTreeGroupHeading = ({ children, buttonProps = {}, ...props }: NavTreeGr
127127
const { t } = useI18n()
128128

129129
return (
130-
<div sx={{ py: Spacing.M }} {...props}>
130+
<div {...props}>
131131
<Collapsible.Trigger
132132
sx={{
133133
width: '100%',
@@ -186,7 +186,7 @@ const NavTreeDivider = (props: NavTreeDividerProps) => {
186186

187187
const NavTreeHeading = ({ children, ...props }: NavTreeHeadingProps) => {
188188
return (
189-
<li sx={{ mt: Spacing.XL, mb: Spacing.M_L, paddingInlineStart: Spacing.L_XL }} {...props}>
189+
<li sx={{ mt: Spacing.L_XL, mb: Spacing.M_L, paddingInlineStart: Spacing.L_XL }} {...props}>
190190
<Text.C12 color="White48">{children}</Text.C12>
191191
</li>
192192
)

0 commit comments

Comments
 (0)