feat: fix menu site (#35127)

This commit is contained in:
黑雨 2022-04-20 17:38:13 +08:00 committed by GitHub
parent 87a5ddf0be
commit b0ad8b6d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -759,7 +759,7 @@ const genBaseStyle: GenerateStyle<MenuToken, CSSObject> = (token): CSSObject =>
paddingBlock: 0,
paddingInline: width20,
},
[`&:hover,${componentCls}-item-active,${componentCls}-item-open,${componentCls}-item-selected, ${componentCls}-submenu-active,${componentCls}-submenu-open,${componentCls}-submenu-selected`]:
[`${componentCls}-item-active,${componentCls}-item-open,${componentCls}-item-selected, ${componentCls}-submenu-active,${componentCls}-submenu-open,${componentCls}-submenu-selected`]:
{
color: primaryColor,