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;