fix: Compact property not functional for menu widget (#15090)
Fix compact property functionality for menu widget and menu type in table widget
This commit is contained in:
parent
c76c052d36
commit
d40a8fd9f2
|
|
@ -208,8 +208,8 @@ const BaseMenuItem = styled(MenuItem)<ThemeProp & BaseStyleProps>`
|
|||
${({ isCompact }) =>
|
||||
isCompact &&
|
||||
`
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-top: 3px !important;
|
||||
padding-bottom: 3px !important;
|
||||
font-size: 12px;
|
||||
`}
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -188,8 +188,8 @@ const BaseMenuItem = styled(MenuItem)<ThemeProp & BaseStyleProps>`
|
|||
${({ isCompact }) =>
|
||||
isCompact &&
|
||||
`
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-top: 3px !important;
|
||||
padding-bottom: 3px !important;
|
||||
font-size: 12px;
|
||||
`}
|
||||
`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user