Skip to content

Commit cdecd27

Browse files
committed
ensure 'Firing Since' column is minimum width so that date/time wraps the same way in all cases
1 parent 86672eb commit cdecd27

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/components/Alerts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const Alerts = React.memo(
273273
<th>Region</th>
274274
<th>Service</th>
275275
<th>Title</th>
276-
<th className="text-nowrap">Firing Since</th>
276+
<th className="text-nowrap snug">Firing Since</th>
277277
<th>Status</th>
278278
<th></th>
279279
</tr>

src/styles/theme.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,10 @@ thead {
476476
color: #fff;
477477
}
478478

479-
td.snug {
480-
width: 1px;
479+
td, th {
480+
&.snug {
481+
width: 1px;
482+
}
481483
}
482484

483485
.action-buttons {

0 commit comments

Comments
 (0)