mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 22:24:37 -04:00
Increase clickable area on files table links (#12553)
This commit is contained in:
parent
d2cee3eea6
commit
dd8ec12188
3 changed files with 34 additions and 35 deletions
|
@ -148,7 +148,7 @@ func TestViewRepoWithSymlinks(t *testing.T) {
|
|||
resp := session.MakeRequest(t, req, http.StatusOK)
|
||||
|
||||
htmlDoc := NewHTMLParser(t, resp.Body)
|
||||
files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name > SPAN")
|
||||
files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name")
|
||||
items := files.Map(func(i int, s *goquery.Selection) string {
|
||||
cls, _ := s.Find("SVG").Attr("class")
|
||||
file := strings.Trim(s.Find("A").Text(), " \t\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue