Skip to content

Commit

Permalink
fix: dom, placement
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkashyap committed Aug 22, 2024
1 parent e695075 commit 86cbdb1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/src/components/header/HeaderNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,24 @@ const ProductSubMenu = React.forwardRef<HTMLAnchorElement, ProductSubMenuProps>(
{...props}
>
<Box sx={{ px: 2 }}>{icon}</Box>
<Box sx={{ flexGrow: 1 }}>
<Box
sx={{
<div style={{ flexGrow: 1 }}>
<div
style={{
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
gap: '6px',
gap: '0.5rem',
}}
>
<Typography variant="body2" sx={{ color: 'text.primary', fontWeight: 'bold' }}>
{name}
</Typography>
{chip}
</Box>
</div>
<Typography variant="body2" sx={{ color: 'text.secondary' }}>
{description}
</Typography>
</Box>
</div>
</Box>
);
},
Expand Down

0 comments on commit 86cbdb1

Please sign in to comment.