File tree 5 files changed +6
-9
lines changed
5 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 47
47
{{range .Emails}}
48
48
<tr>
49
49
<td><a href="{{AppSubUrl}}/{{.Name | PathEscape}}">{{.Name}}</a></td>
50
- <td><span class="text truncate ">{{.FullName}}</span> </td>
51
- <td><span class="text email ">{{.Email}}</span> </td>
50
+ <td class="gt-ellipsis gt-max-width-12rem ">{{.FullName}}</td>
51
+ <td class="gt-ellipsis gt-max-width-12rem ">{{.Email}}</td>
52
52
<td>{{if .IsPrimary}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
53
53
<td>
54
54
{{if .CanChange}}
Original file line number Diff line number Diff line change 56
56
{{end}}
57
57
</td>
58
58
<td>{{.Package.Type.Name}}</td>
59
- <td class="text truncate email ">{{.Package.Name}}</td>
60
- <td><a href="{{.FullWebLink}}" class="text truncate email ">{{.Version.Version}}</a></td>
59
+ <td class="gt-ellipsis gt-max-width-12rem ">{{.Package.Name}}</td>
60
+ <td class="gt-ellipsis gt-max-width-12rem" ><a href="{{.FullWebLink}}">{{.Version.Version}}</a></td>
61
61
<td><a href="{{.Creator.HomeLink}}">{{.Creator.Name}}</a></td>
62
62
<td>
63
63
{{if .Repository}}
Original file line number Diff line number Diff line change 85
85
<tr>
86
86
<td>{{.ID}}</td>
87
87
<td><a href="{{.HomeLink}}">{{.Name}}</a></td>
88
- <td><span class="text truncate email ">{{.Email}}</span> </td>
88
+ <td class="gt-ellipsis gt-max-width-12rem ">{{.Email}}</td>
89
89
<td>{{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
90
90
<td>{{if .IsAdmin}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
91
91
<td>{{if .IsRestricted}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
Original file line number Diff line number Diff line change 26
26
margin : 12px -1rem -1rem ;
27
27
}
28
28
29
- .admin .user table .table .email {
30
- max-width : 200px ;
31
- }
32
-
33
29
.admin dl .admin-dl-horizontal {
34
30
padding : 1em ;
35
31
margin : 0 ;
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ Gitea's private styles use `g-` prefix.
52
52
text-overflow : ellipsis;
53
53
}
54
54
55
+ .gt-max-width-12rem { max-width : 12rem !important ; }
55
56
.gt-max-width-24rem { max-width : 24rem !important ; }
56
57
57
58
/* below class names match Tailwind CSS */
You can’t perform that action at this time.
0 commit comments