From 07016c6c26e51ef6f1dae84e05efe0184dcba20b Mon Sep 17 00:00:00 2001 From: smackxu Date: Tue, 12 Sep 2017 16:27:22 +0800 Subject: [PATCH] Fixed dark theme menu bug --- src/components/Layout/Layout.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Layout/Layout.less b/src/components/Layout/Layout.less index 9728db1..98b24b0 100644 --- a/src/components/Layout/Layout.less +++ b/src/components/Layout/Layout.less @@ -249,7 +249,10 @@ .ant-menu-item-selected { color: @primary-color; - background-color: @dark-half; + + &.ant-menu-item { + background: @dark-half; + } & > a { color: @primary-color;