From fc36f1f3251ba3a32d25236f15f2af4f0aae0bf6 Mon Sep 17 00:00:00 2001 From: Yhspehy <670395851@qq.com> Date: Mon, 17 Dec 2018 20:21:23 +0800 Subject: [PATCH] fix: less compile bug (#3119) * fix: css(:not(.ant-dropdown-menu)) use in global * fix: use extra css-class instead of child combinator * fix: use * to overwrite --- src/components/HeaderDropdown/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/HeaderDropdown/index.less b/src/components/HeaderDropdown/index.less index f27901be..6494de0a 100644 --- a/src/components/HeaderDropdown/index.less +++ b/src/components/HeaderDropdown/index.less @@ -1,6 +1,6 @@ @import '~antd/lib/style/themes/default.less'; -.container > *:global(:not(.ant-dropdown-menu)) { +.container > * { background-color: #fff; box-shadow: @shadow-1-down; border-radius: 4px; -- GitLab