File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed
pgcommitfest/commitfest/templates Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -222,3 +222,10 @@ a:hover .badge {
222222 width : 300px ;
223223 }
224224}
225+
226+ /* Allow long text to wrap in table cells */
227+ .table td .wrap-text {
228+ overflow-wrap : break-word;
229+ word-break : break-word;
230+ max-width : 300px ;
231+ }
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ <h3>{{p.is_open|yesno:"Active patches,Closed patches"}}</h3>
5353 {%endifchanged%}
5454
5555 < tr >
56- < td > < a href ="/patch/{{p.id}}/ "> {{p.name}}</ a > </ td >
56+ < td class =" wrap-text " > < a href ="/patch/{{p.id}}/ "> {{p.name}}</ a > </ td >
5757 < td > {{p.id}}</ td >
5858 < td > < span class ="badge bg-{{p.status|patchstatuslabel}} "> {{p.status|patchstatusstring}}</ span > </ td >
5959 < td style ="width: min-content; ">
@@ -97,9 +97,9 @@ <h3>{{p.is_open|yesno:"Active patches,Closed patches"}}</h3>
9797 {%endif%}
9898 </ td >
9999 {%endwith%}
100- < td > {{p.author_names|default:''}}</ td >
101- < td > {{p.reviewer_names|default:''}}</ td >
102- < td > {{p.committer|default:''}}</ td >
100+ < td class =" wrap-text " > {{p.author_names|default:''}}</ td >
101+ < td class =" wrap-text " > {{p.reviewer_names|default:''}}</ td >
102+ < td class =" wrap-text " > {{p.committer|default:''}}</ td >
103103 < td > {{p.num_cfs}}</ td >
104104 < td style ="white-space: nowrap; " title ="{{p.lastmail}} "> {%if p.lastmail and userprofile.show_relative_timestamps %}{% cfwhen p.lastmail %}{%elif p.lastmail %}{{p.lastmail|date:"Y-m-d"}}< br /> {{p.lastmail|date:"H:i"}}{%endif%}</ td >
105105 {%if user.is_staff%}
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
156156 {%endifchanged%}
157157 {%endif%}
158158 < tr >
159- < td > < a href ="/patch/{{p.id}}/ "> {{p.name}}</ a > </ td >
159+ < td class =" wrap-text " > < a href ="/patch/{{p.id}}/ "> {{p.name}}</ a > </ td >
160160 < td > {{p.id}}</ td >
161161 {%if user.is_authenticated %}
162162 < td > < a href ="/{{p.cf_id}}/ "> < span class ="badge bg-{{p.cf_status|commitfeststatuslabel}} " title ="{{p.cf_status|commitfeststatusstring}} "> {{p.cf_name}}</ span > </ a > </ td >
@@ -203,9 +203,9 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
203203 {%endif%}
204204 </ td >
205205 {%endwith%}
206- < td > {{p.author_names|default:''}}</ td >
207- < td > {{p.reviewer_names|default:''}}</ td >
208- < td > {{p.committer|default:''}}</ td >
206+ < td class =" wrap-text " > {{p.author_names|default:''}}</ td >
207+ < td class =" wrap-text " > {{p.reviewer_names|default:''}}</ td >
208+ < td class =" wrap-text " > {{p.committer|default:''}}</ td >
209209 < td > {{p.num_cfs}}</ td >
210210 < td style ="white-space: nowrap; " title ="{{p.lastmail}} "> {%if p.lastmail and userprofile.show_relative_timestamps %}{% cfwhen p.lastmail %}{%elif p.lastmail %}{{p.lastmail|date:"Y-m-d"}}< br /> {{p.lastmail|date:"H:i"}}{%endif%}</ td >
211211 </ tr >
You can’t perform that action at this time.
0 commit comments