修复导航栏工单/PR等仪表板下筛选等菜单的子项的间距问题

This commit is contained in:
lutinglt
2025-09-25 10:06:38 +08:00
parent 1eaba74c7e
commit 6aff05494e
2 changed files with 3 additions and 0 deletions

View File

@@ -15,3 +15,4 @@
- 修复合并提交中的主色调按钮组阴影问题
- 修复仓库页面下二级导航栏下划线过粗的问题
- 修复仪表板切换用户按钮菜单下无创建组织按钮时的菜单圆角问题
- 修复导航栏工单/PR等仪表板下筛选等菜单的子项的间距问题

View File

@@ -33,6 +33,8 @@ export const dropdown = css`
}
// 不知道为什么提交差异对比页面操作中的 cherrypick 按钮无法被选中
&.cherry-pick-button,
// 下一个 item 是最后一个并且被隐藏时, 目前仅在顶部导航栏工单和 PR 仪表板的菜单中出现
&:has(+ .tw-hidden:last-of-type),
&:not(.emoji):last-of-type {
margin-bottom: 8px;
}