Skip to content

Commit 86cbdb1

Browse files
committed
fix: dom, placement
1 parent e695075 commit 86cbdb1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/src/components/header/HeaderNavBar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,24 +111,24 @@ const ProductSubMenu = React.forwardRef<HTMLAnchorElement, ProductSubMenuProps>(
111111
{...props}
112112
>
113113
<Box sx={{ px: 2 }}>{icon}</Box>
114-
<Box sx={{ flexGrow: 1 }}>
115-
<Box
116-
sx={{
114+
<div style={{ flexGrow: 1 }}>
115+
<div
116+
style={{
117117
display: 'flex',
118118
flexDirection: 'row',
119119
alignItems: 'center',
120-
gap: '6px',
120+
gap: '0.5rem',
121121
}}
122122
>
123123
<Typography variant="body2" sx={{ color: 'text.primary', fontWeight: 'bold' }}>
124124
{name}
125125
</Typography>
126126
{chip}
127-
</Box>
127+
</div>
128128
<Typography variant="body2" sx={{ color: 'text.secondary' }}>
129129
{description}
130130
</Typography>
131-
</Box>
131+
</div>
132132
</Box>
133133
);
134134
},

0 commit comments

Comments
 (0)