Skip to content

Commit

Permalink
fix(menu): menu horizontal border bottom when dark (#38741)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciNyan committed Nov 21, 2022
1 parent e92cb1a commit 68b88d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/menu/style/theme.tsx
Expand Up @@ -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,
Expand Down

0 comments on commit 68b88d9

Please sign in to comment.