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 $.Context .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 $.Context .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 237237 }
238238
239239 #repo-files-table {
240+ table-layout : fixed ;
241+
240242 thead {
241243 th {
242244 padding-top : 8px ;
@@ -2885,14 +2887,19 @@ tbody.commit-list {
28852887 vertical-align : baseline ;
28862888}
28872889
2888- .message-wrapper {
2890+ .message-wrapper ,
2891+ .author-wrapper {
28892892 overflow : hidden ;
28902893 text-overflow : ellipsis ;
28912894 max-width : calc (100% - 50px );
28922895 display : inline-block ;
28932896 vertical-align : middle ;
28942897}
28952898
2899+ .author-wrapper {
2900+ max-width : 180px ;
2901+ }
2902+
28962903// in the commit list, messages can wrap so we can use inline
28972904.commit-list .message-wrapper {
28982905 display : inline ;
@@ -2912,6 +2919,10 @@ tbody.commit-list {
29122919 display : block ;
29132920 max-width : calc (100vw - 70px );
29142921 }
2922+
2923+ .author-wrapper {
2924+ max-width : 80px ;
2925+ }
29152926}
29162927
29172928@media @mediaMd {
@@ -2920,7 +2931,7 @@ tbody.commit-list {
29202931 }
29212932
29222933 th .message-wrapper {
2923- max-width : 280 px ;
2934+ max-width : 120 px ;
29242935 }
29252936}
29262937
@@ -2930,7 +2941,7 @@ tbody.commit-list {
29302941 }
29312942
29322943 th .message-wrapper {
2933- max-width : 490 px ;
2944+ max-width : 350 px ;
29342945 }
29352946}
29362947
@@ -2940,7 +2951,7 @@ tbody.commit-list {
29402951 }
29412952
29422953 th .message-wrapper {
2943- max-width : 680 px ;
2954+ max-width : 525 px ;
29442955 }
29452956}
29462957
You can’t perform that action at this time.
0 commit comments