Skip to content

Commit d9d538c

Browse files
authored
Refactor table width to have more info shown in file list (#6867)
* Refactor table width to have more info shown in file list * Remove unnecesary semicolon * Fix tests for changed html structure
1 parent 01ebd52 commit d9d538c

File tree

4 files changed

+453
-142
lines changed

4 files changed

+453
-142
lines changed

integrations/repo_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func TestViewRepoWithSymlinks(t *testing.T) {
8686
resp := session.MakeRequest(t, req, http.StatusOK)
8787

8888
htmlDoc := NewHTMLParser(t, resp.Body)
89-
files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name")
89+
files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name > SPAN")
9090
items := files.Map(func(i int, s *goquery.Selection) string {
9191
cls, _ := s.Find("SPAN").Attr("class")
9292
file := strings.Trim(s.Find("A").Text(), " \t\n")

public/css/index.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)