Skip to content

Commit

Permalink
style: fix up very long word breaking the table width
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Feb 3, 2022
1 parent 4f56d81 commit 6746e9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ui/app/styles/core/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@
font-weight: $weight-semibold;
}
}

&.ensure-break {
word-break: break-word;
}
}

thead {
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/allocations/allocation/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<tr data-test-service>
<td data-test-service-name>{{row.model.name}}</td>
<td data-test-service-port>{{row.model.portLabel}}</td>
<td data-test-service-tags>{{join ", " row.model.tags}}</td>
<td data-test-service-tags class="ensure-break">{{join ", " row.model.tags}}</td>
<td data-test-service-onupdate>{{row.model.onUpdate}}</td>
<td data-test-service-connect>{{if row.model.connect "Yes" "No"}}</td>
<td data-test-service-upstreams>
Expand Down

0 comments on commit 6746e9e

Please sign in to comment.