diff --git a/config/config.js b/config/config.js index e2aea968c8cb3987eb0e83013f4d60af929ceea2..cc23f0e4f4cf736f975f40662b772306a642f54e 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 bfc4d312f545865d09a1ca2a90f84f96b9b2ed4f..31c0146e981a57862a93ad8dbf7e97d26d10df86 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 6858f0c58b754aeabb158be875d114c2a3dc94d2..4f66bbb8a66a291e44d0362badb43782e843cd55 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 0769f659a42fc07c1106270793fa5d0fa6fed854..fccd7e835aa07b44811beb7ce65a16bee02dce15 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; -}