From 00eda68f009eb224c33872cdb3e5005a7c5598e2 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Mon, 11 Aug 2025 17:39:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Action=20=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E6=AD=A5=E9=AA=A4=E9=A1=B5=E9=9D=A2=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=97=B6=E6=BB=9A=E5=8A=A8=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E7=9A=84=E9=AB=98=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 12 +----------- styles/components/actions.ts | 6 +++++- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/release.md b/.github/release.md index ffe1218..8df5ab7 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,21 +1,11 @@ ## ✨ Feature -- 支持自动颜色主题 (跟随系统) -- 支持亮色主题 -- 支持柔和的暗色主题 (dark-dimmed) - ## 🌈 Style #### 更符合 GitHub 风格 -- 同步查看文件内容时的代码高亮色 (由于词法分析器的差异和解析问题, 只能实现大概相似, 目前观察到在 TypeScript 下词法分析器表现非常糟糕) - ## 🎈 Perf -- 优化差异对比的代码折叠/展开按钮的高度和动画效果 - ## 🐞 Fix -- 修复仓库页面与探索页面下仓库主题标签字重不一致的问题 -- 修复发布页面下的分支按钮点击时高度变化问题 -- 修复首页/登录页/注册页下导航栏右侧按钮样式问题 #10 +- 修复 Action 作业步骤页面标题选中时滚动固定的高度问题 diff --git a/styles/components/actions.ts b/styles/components/actions.ts index 593d64e..b041e7c 100644 --- a/styles/components/actions.ts +++ b/styles/components/actions.ts @@ -203,7 +203,7 @@ export const actionViewRight = css` .job-info-header { padding: 16px 12px 16px 24px; - height: auto; + height: 80px; .job-info-header-title { color: ${themeVars.github.fgColor.accent}; @@ -220,6 +220,10 @@ export const actionViewRight = css` color: ${themeVars.color.console.fg.subtle}; padding: 8px 10px; + &.selected { + top: 80px; + } + &.step-expandable:hover { color: ${themeVars.color.console.fg.subtle}; }