Skip to content

Commit 281953e

Browse files
BLumiaGiteaBot
authored andcommitted
Add hover background to wiki list page (go-gitea#27507)
This patch adds a hover background for the wiki row in wiki list page, which make its behavior more close to repo's file list page. This patch also make the wiki-git-entry visible on the row is hovered instead of the cel, so users won't be confused since the 'grid' is not visible from the web page. After the patch: (when the wiki named 'Home' is hovered) ![image](https://github.com/go-gitea/gitea/assets/10095765/f6c67c41-ad54-4ce4-a3b1-8c7551396ce0)
1 parent 8e1ef57 commit 281953e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web_src/css/repo/wiki.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
.repository.wiki .wiki-pages-list tr:hover {
2+
background-color: var(--color-hover);
3+
}
4+
15
.repository.wiki .wiki-pages-list .wiki-git-entry {
26
margin-left: 10px;
37
display: none;
48
}
59

6-
.repository.wiki .wiki-pages-list td:hover .wiki-git-entry {
10+
.repository.wiki .wiki-pages-list tr:hover .wiki-git-entry {
711
display: inline-block;
812
}
913

0 commit comments

Comments
 (0)