mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
fix: Menu horizontal border (#36947)
This commit is contained in:
parent
a5588f631e
commit
de4914880e
@ -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': {
|
||||||
|
Loading…
Reference in New Issue
Block a user