From 2bf3ef90f18760119c8b6c7cc49cc7d07d785cd2 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Thu, 7 Aug 2025 21:25:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E9=A1=B5=E5=88=86=E6=94=AF?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=AB=98=E5=BA=A6=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 3 ++- styles/public/dropdown.ts | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/release.md b/.github/release.md index 28f2ca0..5736208 100644 --- a/.github/release.md +++ b/.github/release.md @@ -8,4 +8,5 @@ ## 🐞 Fix -- 修复仓库页面与探索页面下仓库主题标签字重不一致的问题 \ No newline at end of file +- 修复仓库页面与探索页面下仓库主题标签字重不一致的问题 +- 修复发布页面下的分支按钮点击时高度变化问题 \ No newline at end of file diff --git a/styles/public/dropdown.ts b/styles/public/dropdown.ts index f2d5874..64f3b6f 100644 --- a/styles/public/dropdown.ts +++ b/styles/public/dropdown.ts @@ -120,6 +120,11 @@ export const selectionDropdown = css` ${activeItemAfterStyle}; } } + // 发布版本页面的分支按钮, 覆盖 Gitea 的样式, 避免按钮元素高度不一致 + .repository.new.release .target .selection.dropdown { + padding-top: 8px; + padding-bottom: 8px; + } // 这个按钮项目前只在创建仓库的拥有者 // 不实现伪元素, 因为 .item 设置溢出的元素会被截断 .ui.selection.dropdown.ellipsis-text-items,