fix: Menu horizontal border (#36947)

This commit is contained in:
MadCcc 2022-08-08 15:57:18 +08:00 committed by GitHub
parent a5588f631e
commit de4914880e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ const getHorizontalStyle: GenerateStyle<MenuToken> = token => {
componentCls,
motionDurationSlow,
menuHorizontalHeight,
colorBorderSecondary,
colorSplit,
lineWidth,
lineType,
menuItemPaddingInline,
@ -17,7 +17,7 @@ const getHorizontalStyle: GenerateStyle<MenuToken> = token => {
[`${componentCls}-horizontal`]: {
lineHeight: `${menuHorizontalHeight}px`,
border: 0,
borderBottom: `${lineWidth}px ${lineType} ${colorBorderSecondary}`,
borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`,
boxShadow: 'none',
'&::after': {