From fe3061ec966d6fe90677c58d9c95147d01098f77 Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Thu, 5 May 2022 19:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E6=8C=89=E9=9C=80?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E4=B8=8B=20dropdown=20=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=B1=A1=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/dropdown/index.less | 4 ++-- package/document/src/layouts/Layout.vue | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/component/src/component/dropdown/index.less b/package/component/src/component/dropdown/index.less index 52ae4c9e..bdc5e70f 100644 --- a/package/component/src/component/dropdown/index.less +++ b/package/component/src/component/dropdown/index.less @@ -32,8 +32,8 @@ background-color: #fff; } -.layui-menu li, -.layui-menu-body-title a { +.layui-dropdown .layui-menu li, +.layui-dropdown .layui-menu-body-title a { padding: 5px 15px; } diff --git a/package/document/src/layouts/Layout.vue b/package/document/src/layouts/Layout.vue index 54c9b01a..fcad3755 100644 --- a/package/document/src/layouts/Layout.vue +++ b/package/document/src/layouts/Layout.vue @@ -308,6 +308,7 @@ export default {