diff --git a/src/assets/styles/drawer.less b/src/assets/styles/drawer.less index d6827c146..efd0a0a7f 100644 --- a/src/assets/styles/drawer.less +++ b/src/assets/styles/drawer.less @@ -14,7 +14,6 @@ } .el-drawer__body{ height: 100%; - // 不清楚为啥全局改 注掉 //overflow-y: auto; display: flex; flex-direction: column; @@ -22,6 +21,7 @@ .demo-drawer-content{ padding: 0 19px; //height: calc(~'100% - 50px'); + height: 85%; overflow-y: auto; flex: auto; display: flex; @@ -99,7 +99,7 @@ //bottom: 0; //left: 0; padding: 0 20px; - height: 50px; + height: 13%; line-height: 50px; border-top: 1px solid #e8e8e8; text-align: right;