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