From 3d728ed29d17f0266c0abf0266bf0aa8f1e2bfe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=84=9A=E9=81=93?= Date: Tue, 28 Aug 2018 22:36:07 +0800 Subject: [PATCH] fix: global style in `global.less` not need :global anymore --- src/global.less | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/global.less b/src/global.less index 9acf38f9..0769f659 100644 --- a/src/global.less +++ b/src/global.less @@ -32,11 +32,9 @@ ol { list-style: none; } -:global { - body .ant-drawer .ant-drawer-content { - opacity: 1; - } - body .anticon svg { - display: block; - } +body .ant-drawer .ant-drawer-content { + opacity: 1; +} +body .anticon svg { + display: block; } -- GitLab