mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
Compare commits
2 Commits
5d7a1c53d5
...
11e86dc549
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11e86dc549 | ||
|
|
1134c53a63 |
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -8,3 +8,4 @@
|
|||||||
|
|
||||||
- 修复后台账户管理排序菜单项的宽度问题
|
- 修复后台账户管理排序菜单项的宽度问题
|
||||||
- 修复合并提交中的主色调按钮组阴影问题
|
- 修复合并提交中的主色调按钮组阴影问题
|
||||||
|
- 修复 Wiki 页面搜索项目没有正确隐藏的问题 #15
|
||||||
|
|||||||
@@ -55,6 +55,24 @@ export const dropdown = css`
|
|||||||
.ui.checkbox input[type="checkbox"] {
|
.ui.checkbox input[type="checkbox"] {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
// 修复 Wiki 页面下搜索框中搜索时, 显示隐藏的项目
|
||||||
|
&.filtered {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 当筛选后, 让菜单提供边距, 因为无法确定保留的是菜单中哪个 item
|
||||||
|
// 不是所有菜单都提供边距方式, 原因为比如会导致分支菜单中的查看所有分支上间隔缺失, 这种方式单独为 Wiki 菜单做处理
|
||||||
|
// 有筛选(.filtered)且有筛选结果(.selected)时提供菜单边距, 没结果时提供会导致多余的菜单边框线
|
||||||
|
&:has(> .item.filtered):has(> .item.selected) {
|
||||||
|
padding: 8px 0px;
|
||||||
|
> .item {
|
||||||
|
&:first-of-type {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
&:last-of-type {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
> .divider {
|
> .divider {
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user