File tree 2 files changed +18
-7
lines changed
2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 8
8
{{if .LatestCommitUser}}
9
9
{{avatar $.Context .LatestCommitUser 24}}
10
10
{{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>
12
12
{{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>
14
14
{{end}}
15
15
{{else}}
16
16
{{if .LatestCommit.Author}}
17
17
{{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 >
19
19
{{end}}
20
20
{{end}}
21
21
<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 237
237
}
238
238
239
239
#repo-files-table {
240
+ table-layout : fixed ;
241
+
240
242
thead {
241
243
th {
242
244
padding-top : 8px ;
@@ -2885,14 +2887,19 @@ tbody.commit-list {
2885
2887
vertical-align : baseline ;
2886
2888
}
2887
2889
2888
- .message-wrapper {
2890
+ .message-wrapper ,
2891
+ .author-wrapper {
2889
2892
overflow : hidden ;
2890
2893
text-overflow : ellipsis ;
2891
2894
max-width : calc (100% - 50px );
2892
2895
display : inline-block ;
2893
2896
vertical-align : middle ;
2894
2897
}
2895
2898
2899
+ .author-wrapper {
2900
+ max-width : 180px ;
2901
+ }
2902
+
2896
2903
// in the commit list, messages can wrap so we can use inline
2897
2904
.commit-list .message-wrapper {
2898
2905
display : inline ;
@@ -2912,6 +2919,10 @@ tbody.commit-list {
2912
2919
display : block ;
2913
2920
max-width : calc (100vw - 70px );
2914
2921
}
2922
+
2923
+ .author-wrapper {
2924
+ max-width : 80px ;
2925
+ }
2915
2926
}
2916
2927
2917
2928
@media @mediaMd {
@@ -2920,7 +2931,7 @@ tbody.commit-list {
2920
2931
}
2921
2932
2922
2933
th .message-wrapper {
2923
- max-width : 280 px ;
2934
+ max-width : 120 px ;
2924
2935
}
2925
2936
}
2926
2937
@@ -2930,7 +2941,7 @@ tbody.commit-list {
2930
2941
}
2931
2942
2932
2943
th .message-wrapper {
2933
- max-width : 490 px ;
2944
+ max-width : 350 px ;
2934
2945
}
2935
2946
}
2936
2947
@@ -2940,7 +2951,7 @@ tbody.commit-list {
2940
2951
}
2941
2952
2942
2953
th .message-wrapper {
2943
- max-width : 680 px ;
2954
+ max-width : 525 px ;
2944
2955
}
2945
2956
}
2946
2957
You can’t perform that action at this time.
0 commit comments