From a897230f2c236dde2c036cac40c6bf66812d40a8 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Tue, 11 Feb 2025 11:06:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8B=B1=E6=96=87=E4=B8=8BAc?= =?UTF-8?q?tion=E9=A1=B5=E9=9D=A2=E6=89=A7=E8=A1=8C=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C&=E8=8F=9C=E5=8D=95=E6=96=87=E5=AD=97?= =?UTF-8?q?=E7=B2=97=E7=BB=86=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 6 +++++- src/actions.scss | 8 +++----- src/setting.scss | 11 ++++++++++- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/release.md b/.github/release.md index dc5aec1..7815e48 100644 --- a/.github/release.md +++ b/.github/release.md @@ -2,4 +2,8 @@ #### 更符合 GitHub 风格 -- Action工作流页面同步 \ No newline at end of file +- 菜单文字粗细样式优化 + +## 🐞 Fix + +- 修复英文下Action页面执行时间换行 \ No newline at end of file diff --git a/src/actions.scss b/src/actions.scss index 3c5996d..70c1884 100644 --- a/src/actions.scss +++ b/src/actions.scss @@ -13,10 +13,6 @@ margin-top: 6px; margin-bottom: 24px; } - - .item { - font-weight: 400; - } } .twelve.wide { @@ -80,7 +76,9 @@ } .run-list-item-right { - width: 80px; + width: auto; + min-width: 80px; + max-width: 130px; } } } diff --git a/src/setting.scss b/src/setting.scss index e435f68..e158e6a 100644 --- a/src/setting.scss +++ b/src/setting.scss @@ -31,7 +31,6 @@ .item, .item > summary { font-size: 1.1rem; - font-weight: 500; background: unset; padding: 6px 8px; color: var(--color-white) !important; @@ -41,6 +40,11 @@ background: unset; } + .active.item, + .active.item > summary { + font-weight: 600; + } + .active.item:after { @extend %active-item-after-style; } @@ -48,6 +52,7 @@ details { &:has(.active.item) { > summary { + font-weight: 600; background: #161a21; &:hover { @@ -55,6 +60,10 @@ } } + .active.item { + font-weight: 400; + } + &[open] { > summary { background: unset;