fix(menu): menu horizontal border bottom when dark (#38741)

pull/38781/head
子瞻 Luci 2 years ago committed by GitHub
parent e92cb1ae4f
commit 68b88d98f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -154,6 +154,12 @@ const getThemeStyle = (token: MenuToken, themeSuffix: string): CSSInterpolation
// ====================== Horizontal ====================== // ====================== Horizontal ======================
[`&${componentCls}-horizontal`]: { [`&${componentCls}-horizontal`]: {
...(themeSuffix === 'dark'
? {
borderBottom: 0,
}
: {}),
[`> ${componentCls}-item, > ${componentCls}-submenu`]: { [`> ${componentCls}-item, > ${componentCls}-submenu`]: {
top: colorActiveBarBorderSize, top: colorActiveBarBorderSize,
marginTop: -colorActiveBarBorderSize, marginTop: -colorActiveBarBorderSize,

Loading…
Cancel
Save