mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-04-15 16:01:38 +08:00
发布页分支按钮高度修正
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -9,3 +9,4 @@
|
|||||||
## 🐞 Fix
|
## 🐞 Fix
|
||||||
|
|
||||||
- 修复仓库页面与探索页面下仓库主题标签字重不一致的问题
|
- 修复仓库页面与探索页面下仓库主题标签字重不一致的问题
|
||||||
|
- 修复发布页面下的分支按钮点击时高度变化问题
|
||||||
@@ -120,6 +120,11 @@ export const selectionDropdown = css`
|
|||||||
${activeItemAfterStyle};
|
${activeItemAfterStyle};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 发布版本页面的分支按钮, 覆盖 Gitea 的样式, 避免按钮元素高度不一致
|
||||||
|
.repository.new.release .target .selection.dropdown {
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
}
|
||||||
// 这个按钮项目前只在创建仓库的拥有者
|
// 这个按钮项目前只在创建仓库的拥有者
|
||||||
// 不实现伪元素, 因为 .item 设置溢出的元素会被截断
|
// 不实现伪元素, 因为 .item 设置溢出的元素会被截断
|
||||||
.ui.selection.dropdown.ellipsis-text-items,
|
.ui.selection.dropdown.ellipsis-text-items,
|
||||||
|
|||||||
Reference in New Issue
Block a user