From 44783f7664f7b2b3e6bcf96b71e7af1fdc016c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 3 Mar 2022 13:32:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/mdp.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index 5f7707e0..f2e5f451 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -199,6 +199,17 @@ background: #a9d6f0 !important; } +/*1.显示滚动条:当内容超出容器的时候,可以拖动:*/ +.el-drawer__body { + overflow: auto; + /* overflow-x: auto; */ +} + +/*2.隐藏滚动条,太丑了 +.el-drawer__container ::-webkit-scrollbar{ + display: none; +} +*/ /*此处根据不同屏幕分配率显示不同的样式*/ /*手机端*/ @media only screen and (min-width: 0px) and (max-width: 768px) {