mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
fix(menu): menu horizontal border bottom when dark (#38741)
This commit is contained in:
parent
e92cb1ae4f
commit
68b88d98f4
@ -154,6 +154,12 @@ const getThemeStyle = (token: MenuToken, themeSuffix: string): CSSInterpolation
|
||||
|
||||
// ====================== Horizontal ======================
|
||||
[`&${componentCls}-horizontal`]: {
|
||||
...(themeSuffix === 'dark'
|
||||
? {
|
||||
borderBottom: 0,
|
||||
}
|
||||
: {}),
|
||||
|
||||
[`> ${componentCls}-item, > ${componentCls}-submenu`]: {
|
||||
top: colorActiveBarBorderSize,
|
||||
marginTop: -colorActiveBarBorderSize,
|
||||
|
Loading…
Reference in New Issue
Block a user