Skip to content

Commit 88374b6

Browse files
committed
Fix MenuItemLink styles
1 parent 2d66154 commit 88374b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/ra-ui-materialui/src/layout/MenuItemLink.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ const StyledMenuItem = styled(MenuItem, {
219219
overridesResolver: (props, styles) => styles.root,
220220
})(({ theme }) => ({
221221
color: (theme.vars || theme).palette.text.secondary,
222+
justifyContent: 'space-between',
223+
gap: theme.spacing(1),
222224

223225
[`&.${MenuItemLinkClasses.active}`]: {
224226
color: (theme.vars || theme).palette.text.primary,

0 commit comments

Comments
 (0)