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:
Souma Ghosh 2022-07-14 17:11:03 +05:30 committed by GitHub
parent c76c052d36
commit d40a8fd9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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;
`}
`;

View File

@ -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;
`}
`;