From 708017aaed404d1c06e1cd48c64ba69fdc61f4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Fri, 8 Apr 2022 06:26:50 +0800 Subject: [PATCH] fix: panel style --- package/component/src/component/panel/index.less | 10 ++-------- package/document/src/document/zh-CN/guide/changelog.md | 2 ++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/package/component/src/component/panel/index.less b/package/component/src/component/panel/index.less index 68f41b8a..4b4d116e 100644 --- a/package/component/src/component/panel/index.less +++ b/package/component/src/component/panel/index.less @@ -2,14 +2,10 @@ @panel-border-color: var(--panel-border-color); @panel-border-radius: var(--panel-border-radius); -@panel-fore-color: var(--panel-fore-color); -@panel-back-color: var(--panel-back-color); :root { --panel-border-color: @global-neutral-color-3; --panel-border-radius: @global-border-radius; - --panel-fore-color: @global-fore-color; - --panel-back-color: @global-back-color; } .layui-panel { @@ -17,13 +13,11 @@ border-style: solid; border-radius: @panel-border-radius; border-color: @panel-border-color; - background-color: @panel-back-color; - color: @panel-fore-color; + background-color: #fff; .is-hover-shadow:hover { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); } .shadow { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); - } - + } } diff --git a/package/document/src/document/zh-CN/guide/changelog.md b/package/document/src/document/zh-CN/guide/changelog.md index 7f4aef87..d9b78525 100644 --- a/package/document/src/document/zh-CN/guide/changelog.md +++ b/package/document/src/document/zh-CN/guide/changelog.md @@ -18,6 +18,8 @@