From efec91102122ea29bc9089ac498da2e0e3152158 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Thu, 6 Nov 2025 17:43:10 +0800 Subject: [PATCH] Fix fixed height when scrolling through step titles on workflow detail pages --- CHANGELOG.md | 3 ++- styles/components/actions.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e6158b..5026321 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,4 +5,5 @@ ### 🐞 Fix - Fix the problem of missing background color and width when there is a unicode character in the diff -- Fix the disabled operation button interval in the code preview interface \ No newline at end of file +- Fix the disabled operation button interval in the code preview interface +- Fix fixed height when scrolling through step titles on workflow detail pages \ No newline at end of file diff --git a/styles/components/actions.ts b/styles/components/actions.ts index 467d8ce..596313f 100644 --- a/styles/components/actions.ts +++ b/styles/components/actions.ts @@ -258,7 +258,8 @@ export const actionViewRight = css` color: ${themeVars.color.console.fg.subtle}; padding: 8px 10px !important; - &.selected { + &.selected.selected { + // 双重确保 selected 覆盖原始样式 // 滚动时固定在顶部的高度与 job-info-header 高度相同 top: 80px; }