From 72e959000381ca16d1384287ab583cbc1bf7baa4 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 29 八月 2024 17:29:29 +0800 Subject: [PATCH] element 莫名其妙bug,demo 没发现 --- src/theme/element.scss | 31 ++++++++++++++++++++++++++----- 1 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/theme/element.scss b/src/theme/element.scss index d77b2ea..21222ee 100644 --- a/src/theme/element.scss +++ b/src/theme/element.scss @@ -1,4 +1,26 @@ @import 'mixins/index.scss'; +/* element 鑾悕鍏跺bug锛宒emo 娌″彂鐜� +--------------------------------------------------------- */ +.el-dialog { + padding: 0px; + .el-dialog__header { + padding: var(--el-dialog-padding-primary); + padding-bottom: 10px; + padding-top: 10px; + .el-dialog__headerbtn { + position: absolute; + top: 6px; + right: 0; + padding: 0; + width: 54px; + background: 0 0; + border: none; + outline: 0; + cursor: pointer; + font-size: var(--el-message-close-size, 16px); + } + } +} /* Button 鎸夐挳 ------------------------------- */ @@ -6,18 +28,15 @@ .el-button:not(.is-circle) i.el-icon, .el-button i.iconfont, .el-button i.ywifont, - .el-button i.fa, .el-button--default i.iconfont, .el-button--default i.ywifont, - .el-button--default i.fa { font-size: 14px !important; margin-right: 5px; } .el-button--small i.iconfont, .el-button--small i.ywifont, - .el-button--small i.fa { font-size: 12px !important; margin-right: 5px; @@ -229,11 +248,12 @@ // 妯悜鑿滃崟锛堢粡鍏搞�佹í鍚戯級甯冨眬 .el-menu.el-menu--horizontal { border-bottom: none !important; + width: 100% !important; + .el-menu-item { border-bottom: none; } - width: 100% !important; .el-menu-item, .el-sub-menu__title { height: var(--yw-horizontal-menu-height) !important; @@ -367,11 +387,12 @@ --el-table-row-hover-bg-color: rgb(243, 249, 255); // 鏂戦┈鏉$汗棰滆壊 --el-fill-color-lighter: rgb(248, 252, 255); + --el-table-header-bg-color: #ecf5ff; + .el-button.is-text { padding: 0; } // 琛ㄥご鑳屾櫙鑹� - --el-table-header-bg-color: #ecf5ff; // 琛ㄥご瀛椾綋棰滆壊 thead { color: var(--el-text-color-regular); -- Gitblit v1.9.3