From 08f451c393fc58f092091d35dfdbc707e2dfe27d Mon Sep 17 00:00:00 2001 From: hocgin Date: Thu, 2 Nov 2023 22:40:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD](develop)?= =?UTF-8?q?:=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Console/style/index.scss | 4 ++-- src/Editor/style/Editor.scss | 4 ++-- src/Exhibit/style/Avatar.scss | 2 +- src/Featbar/style/index.scss | 10 ++++------ src/Footer/style/index.scss | 12 ++++-------- 5 files changed, 13 insertions(+), 19 deletions(-) diff --git a/src/Console/style/index.scss b/src/Console/style/index.scss index 7f557e47..fbd7abe8 100644 --- a/src/Console/style/index.scss +++ b/src/Console/style/index.scss @@ -9,9 +9,9 @@ $console-prefix-cls: $hui-prefix + '-console'; width: 600px; max-width: 100%; right: 60px; - .mobile({ + .mobile { width: 100%; - }); + } &.#{$console-prefix-cls}--visible { bottom: 0; diff --git a/src/Editor/style/Editor.scss b/src/Editor/style/Editor.scss index e5f5f132..70cf0f96 100644 --- a/src/Editor/style/Editor.scss +++ b/src/Editor/style/Editor.scss @@ -62,9 +62,9 @@ $editor-prefix-cls: $hui-prefix + '-editor'; .#{$editor-prefix-cls}-heart { margin-right: 10px; - .mobile({ + .mobile{ display: none; - }); + } } .#{$editor-prefix-cls}-btActions { diff --git a/src/Exhibit/style/Avatar.scss b/src/Exhibit/style/Avatar.scss index fc18c0ea..4494aadb 100644 --- a/src/Exhibit/style/Avatar.scss +++ b/src/Exhibit/style/Avatar.scss @@ -1,4 +1,4 @@ -@import '../../style/index.less'; +@import '../../style/index.scss'; $exhibit--Avatar-prefix-cls: $hui-prefix + '-exhibit--Avatar'; diff --git a/src/Featbar/style/index.scss b/src/Featbar/style/index.scss index 855c8040..2739d725 100644 --- a/src/Featbar/style/index.scss +++ b/src/Featbar/style/index.scss @@ -12,12 +12,10 @@ $featbar-prefix-cls: $hui-prefix + '-featbar'; display: none; z-index: 2147483640; - .mobile - -({ - right: 0; - width: 100%; -}); + .mobile{ + right: 0; + width: 100%; + } &.#{$featbar-prefix-cls}--open { bottom: 0; diff --git a/src/Footer/style/index.scss b/src/Footer/style/index.scss index 2bc7d53e..d92d34fb 100644 --- a/src/Footer/style/index.scss +++ b/src/Footer/style/index.scss @@ -27,9 +27,7 @@ $footer-prefix-cls: $hui-prefix + '-footer'; &-year { vertical-align: baseline; - .a - - (); + @include a; border-bottom: none; } @@ -49,11 +47,9 @@ $footer-prefix-cls: $hui-prefix + '-footer'; border-right: 1px solid rgba(234, 234, 234, 0.7); padding-right: 10px; - .dark - - ({ - border-right: 1px solid rgba(234, 234, 234, 0.25); - }); + .dark { + border-right: 1px solid rgba(234, 234, 234, 0.25); + } &:last-child { border-right: none;