From 68b88d98f4270020de13ccc40d3972aba9782842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E7=9E=BB=20Luci?= Date: Mon, 21 Nov 2022 12:03:17 +0800 Subject: [PATCH] fix(menu): menu horizontal border bottom when dark (#38741) --- components/menu/style/theme.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/menu/style/theme.tsx b/components/menu/style/theme.tsx index eb54a7bb11..4841236cef 100644 --- a/components/menu/style/theme.tsx +++ b/components/menu/style/theme.tsx @@ -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,