From 1b94c656d2d22d3fbeccba53596137933e66a084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Mon, 3 Sep 2018 00:46:30 +0800 Subject: [PATCH] Modify the style of the header icon --- config/config.js | 3 ++- src/components/GlobalHeader/index.less | 2 +- src/components/NoticeIcon/index.less | 2 +- src/global.less | 7 ------- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/config/config.js b/config/config.js index e2aea968..cc23f0e4 100644 --- a/config/config.js +++ b/config/config.js @@ -51,7 +51,8 @@ export default { getLocalIdent: (context, localIdentName, localName) => { if ( context.resourcePath.includes('node_modules') || - context.resourcePath.includes('ant.design.pro.less') + context.resourcePath.includes('ant.design.pro.less') || + context.resourcePath.includes('global.less') ) { return localName; } diff --git a/src/components/GlobalHeader/index.less b/src/components/GlobalHeader/index.less index bfc4d312..31c0146e 100644 --- a/src/components/GlobalHeader/index.less +++ b/src/components/GlobalHeader/index.less @@ -52,7 +52,7 @@ i.trigger { transition: all 0.3s; height: 100%; > i { - font-size: 16px; + font-size: 18px; vertical-align: middle; color: @text-color; } diff --git a/src/components/NoticeIcon/index.less b/src/components/NoticeIcon/index.less index 6858f0c5..4f66bbb8 100644 --- a/src/components/NoticeIcon/index.less +++ b/src/components/NoticeIcon/index.less @@ -14,7 +14,7 @@ } .icon { - font-size: 16px; + font-size: 18px; padding: 4px; } diff --git a/src/global.less b/src/global.less index 0769f659..fccd7e83 100644 --- a/src/global.less +++ b/src/global.less @@ -31,10 +31,3 @@ ul, ol { list-style: none; } - -body .ant-drawer .ant-drawer-content { - opacity: 1; -} -body .anticon svg { - display: block; -} -- GitLab