From c480be4e1d06abde5afcad36ab4c76486aeda178 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 13 Apr 2022 14:14:50 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BB=9F=E4=B8=80=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/sass/dark.scss | 3 +++ resources/assets/sass/pages/components/dialog-wrapper.scss | 4 ++-- resources/assets/sass/pages/components/project-list.scss | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/resources/assets/sass/dark.scss b/resources/assets/sass/dark.scss index da703a0f7..f484c9233 100644 --- a/resources/assets/sass/dark.scss +++ b/resources/assets/sass/dark.scss @@ -160,6 +160,9 @@ body.dark-mode-reverse { > h2 { color: #555; } + .top-text { + color: #000000; + } } } } diff --git a/resources/assets/sass/pages/components/dialog-wrapper.scss b/resources/assets/sass/pages/components/dialog-wrapper.scss index 9836dc9ad..cb48b05ec 100644 --- a/resources/assets/sass/pages/components/dialog-wrapper.scss +++ b/resources/assets/sass/pages/components/dialog-wrapper.scss @@ -124,14 +124,14 @@ .top-text { flex-shrink: 0; - width: 40px; height: 24px; + line-height: 24px; + padding: 0 6px; border-radius: 4px; margin-left: 10px; background-color: #8BCF70; color: #FFFFFF; text-align: center; - padding-top: 1px } } diff --git a/resources/assets/sass/pages/components/project-list.scss b/resources/assets/sass/pages/components/project-list.scss index 7d0e5905c..348abe986 100644 --- a/resources/assets/sass/pages/components/project-list.scss +++ b/resources/assets/sass/pages/components/project-list.scss @@ -30,15 +30,15 @@ } } .top-text { - width: 40px; height: 24px; + line-height: 24px; border-radius:4px; + padding: 0 6px; + margin-top: 3px; margin-left: 10px; background-color: #8BCF70; color:#FFFFFF; text-align: center; - margin-top: 3px; - padding-top: 2px } } .project-icons {