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 .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 .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 271
271
}
272
272
273
273
#repo-files-table {
274
+ table-layout : fixed ;
275
+
274
276
thead {
275
277
th {
276
278
padding-top : 8px ;
@@ -2846,14 +2848,19 @@ tbody.commit-list {
2846
2848
vertical-align : baseline ;
2847
2849
}
2848
2850
2849
- .message-wrapper {
2851
+ .message-wrapper ,
2852
+ .author-wrapper {
2850
2853
overflow : hidden ;
2851
2854
text-overflow : ellipsis ;
2852
2855
max-width : calc (100% - 50px );
2853
2856
display : inline-block ;
2854
2857
vertical-align : middle ;
2855
2858
}
2856
2859
2860
+ .author-wrapper {
2861
+ max-width : 180px ;
2862
+ }
2863
+
2857
2864
// in the commit list, messages can wrap so we can use inline
2858
2865
.commit-list .message-wrapper {
2859
2866
display : inline ;
@@ -2873,6 +2880,10 @@ tbody.commit-list {
2873
2880
display : block ;
2874
2881
max-width : calc (100vw - 70px );
2875
2882
}
2883
+
2884
+ .author-wrapper {
2885
+ max-width : 80px ;
2886
+ }
2876
2887
}
2877
2888
2878
2889
@media @mediaMd {
@@ -2881,7 +2892,7 @@ tbody.commit-list {
2881
2892
}
2882
2893
2883
2894
th .message-wrapper {
2884
- max-width : 280 px ;
2895
+ max-width : 120 px ;
2885
2896
}
2886
2897
}
2887
2898
@@ -2891,7 +2902,7 @@ tbody.commit-list {
2891
2902
}
2892
2903
2893
2904
th .message-wrapper {
2894
- max-width : 490 px ;
2905
+ max-width : 350 px ;
2895
2906
}
2896
2907
}
2897
2908
@@ -2901,7 +2912,7 @@ tbody.commit-list {
2901
2912
}
2902
2913
2903
2914
th .message-wrapper {
2904
- max-width : 680 px ;
2915
+ max-width : 525 px ;
2905
2916
}
2906
2917
}
2907
2918
You can’t perform that action at this time.
0 commit comments