File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 88 {{if .LatestCommitUser}}
99 {{avatar .LatestCommitUser 24}}
1010 {{if .LatestCommitUser.FullName}}
11- <a class="muted" href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
11+ <a class="muted author-wrapper" title="{{.LatestCommitUser.FullName}} " href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
1212 {{else}}
13- <a class="muted" href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
13+ <a class="muted author-wrapper" title="{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}} " href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
1414 {{end}}
1515 {{else}}
1616 {{if .LatestCommit.Author}}
1717 {{avatarByEmail .LatestCommit.Author.Email .LatestCommit.Author.Name 24}}
18- <strong>{{.LatestCommit.Author.Name}}</strong>
18+ <span class="author-wrapper" title="{{.LatestCommit.Author.Name}}">< strong>{{.LatestCommit.Author.Name}}</strong></span >
1919 {{end}}
2020 {{end}}
2121 <a rel="nofollow" class="ui sha label {{if .LatestCommit.Signature}} isSigned {{if .LatestCommitVerification.Verified}} isVerified{{if eq .LatestCommitVerification.TrustStatus "trusted"}}{{else if eq .LatestCommitVerification.TrustStatus "untrusted"}}Untrusted{{else}}Unmatched{{end}}{{else if .LatestCommitVerification.Warning}} isWarning{{end}}{{end}}" href="{{.RepoLink}}/commit/{{PathEscape .LatestCommit.ID.String}}">
Original file line number Diff line number Diff line change 271271 }
272272
273273 #repo-files-table {
274+ table-layout : fixed ;
275+
274276 thead {
275277 th {
276278 padding-top : 8px ;
@@ -2846,14 +2848,19 @@ tbody.commit-list {
28462848 vertical-align : baseline ;
28472849}
28482850
2849- .message-wrapper {
2851+ .message-wrapper ,
2852+ .author-wrapper {
28502853 overflow : hidden ;
28512854 text-overflow : ellipsis ;
28522855 max-width : calc (100% - 50px );
28532856 display : inline-block ;
28542857 vertical-align : middle ;
28552858}
28562859
2860+ .author-wrapper {
2861+ max-width : 180px ;
2862+ }
2863+
28572864// in the commit list, messages can wrap so we can use inline
28582865.commit-list .message-wrapper {
28592866 display : inline ;
@@ -2873,6 +2880,10 @@ tbody.commit-list {
28732880 display : block ;
28742881 max-width : calc (100vw - 70px );
28752882 }
2883+
2884+ .author-wrapper {
2885+ max-width : 80px ;
2886+ }
28762887}
28772888
28782889@media @mediaMd {
@@ -2881,7 +2892,7 @@ tbody.commit-list {
28812892 }
28822893
28832894 th .message-wrapper {
2884- max-width : 280 px ;
2895+ max-width : 120 px ;
28852896 }
28862897}
28872898
@@ -2891,7 +2902,7 @@ tbody.commit-list {
28912902 }
28922903
28932904 th .message-wrapper {
2894- max-width : 490 px ;
2905+ max-width : 350 px ;
28952906 }
28962907}
28972908
@@ -2901,7 +2912,7 @@ tbody.commit-list {
29012912 }
29022913
29032914 th .message-wrapper {
2904- max-width : 680 px ;
2915+ max-width : 525 px ;
29052916 }
29062917}
29072918
You can’t perform that action at this time.
0 commit comments