mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 10:48:37 +00:00
Backport #27507 by @BLumia 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)  Co-authored-by: Gary Wang <git@blumia.net>
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
|
.repository.wiki .wiki-pages-list tr:hover {
|
||||||
|
background-color: var(--color-hover);
|
||||||
|
}
|
||||||
|
|
||||||
.repository.wiki .wiki-pages-list .wiki-git-entry {
|
.repository.wiki .wiki-pages-list .wiki-git-entry {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository.wiki .wiki-pages-list td:hover .wiki-git-entry {
|
.repository.wiki .wiki-pages-list tr:hover .wiki-git-entry {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user