Don't allow the alloc status table cell to word-wrap at the swatch

This commit is contained in:
Michael Lange 2018-03-28 14:51:54 -07:00
parent cbfeca8678
commit 679831e96b
2 changed files with 5 additions and 1 deletions

View file

@ -208,6 +208,10 @@
border: 1px solid $grey-blue; border: 1px solid $grey-blue;
border-width: 0 0 1px; border-width: 0 0 1px;
padding: 1.25em 1.5em; padding: 1.25em 1.5em;
&.is-one-line {
white-space: nowrap;
}
} }
} }

View file

@ -5,7 +5,7 @@
</td> </td>
<td data-test-modify-time>{{moment-format allocation.modifyTime "MM/DD HH:mm:ss"}}</td> <td data-test-modify-time>{{moment-format allocation.modifyTime "MM/DD HH:mm:ss"}}</td>
<td data-test-name>{{allocation.name}}</td> <td data-test-name>{{allocation.name}}</td>
<td data-test-client-status> <td data-test-client-status class="is-one-line">
<span class="color-swatch {{allocation.clientStatus}}" /> {{allocation.clientStatus}} <span class="color-swatch {{allocation.clientStatus}}" /> {{allocation.clientStatus}}
</td> </td>
{{#if (eq context "job")}} {{#if (eq context "job")}}