From e2089ac06bd5838c2e53c42e93226cc5ebff6753 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Mon, 8 Feb 2021 18:14:37 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=BB=98=E8=AE=A4=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/antd.scss | 8 ++++++-- vue.config.js | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/assets/styles/antd.scss b/src/assets/styles/antd.scss index 8e441292..06941321 100644 --- a/src/assets/styles/antd.scss +++ b/src/assets/styles/antd.scss @@ -8,6 +8,7 @@ display: none; } .ant-popover-inner { + box-shadow: $boxShadow; border: 1px solid $borderColor; } .ant-popover-inner-content { @@ -19,6 +20,7 @@ min-width: 120px; } .ant-dropdown-menu { + box-shadow: $boxShadow; border: 1px solid $borderColor; } .ant-dropdown-menu-item { @@ -30,8 +32,10 @@ } // button -.ant-btn.no-padding { - padding: 0; +.ant-btn { + &.no-padding { + padding: 0; + } } // radio diff --git a/vue.config.js b/vue.config.js index 22f8618b..53c28dfd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -17,7 +17,6 @@ module.exports = { 'text-color': '#41464b', 'font-size-base': '13px', 'border-radius-base': '2px', - 'box-shadow-base': '3px 3px 3px rgba(#000, 0.15)', }, javascriptEnabled: true, },