Skip to content

Commit ba5441d

Browse files
committed
Fix CSS: add a class for wraped text
1 parent 2ee9234 commit ba5441d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

homu/html/queue.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
table { border-collapse: collapse; }
2929
td, th { border-bottom: 1px solid #ddd; padding: 5px 6px; font-size: 13px; text-align: left; vertical-align: baseline; }
3030
tr:nth-child(even) { background: #eee; }
31-
#queue tr > td:nth-child(8) { word-break: break-all; }
31+
3232
a {
3333
text-decoration: none;
3434
}
@@ -65,6 +65,7 @@
6565
animation: barber-pole 1s linear infinite;
6666
}
6767
.number { text-align: right; }
68+
.wrap-text { word-break: break-all; }
6869

6970
/* Make a non-zero priority stand out by making 0 normal and gray,
7071
and non-zero bold and black. */
@@ -197,7 +198,7 @@ <h1>Homu queue - {% if repo_url %}<a href="{{repo_url}}" target="_blank">{{repo_
197198
</td>
198199
<td class="{{state.mergeable}}">{{state.mergeable}}</td>
199200
<td>{{state.title}}</td>
200-
<td>{{state.head_ref}}</td>
201+
<td class="wrap-text">{{state.head_ref}}</td>
201202
<td>{{state.assignee}}</td>
202203
<td>{{state.approved_by}}</td>
203204
<td class="priority" data-priority="{{state.priority}}">{{state.priority}}</td>

0 commit comments

Comments
 (0)