diff --git a/.changelog/11995.txt b/.changelog/11995.txt new file mode 100644 index 00000000000..a7c874a5e9b --- /dev/null +++ b/.changelog/11995.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: break long service tags into multiple lines +``` diff --git a/ui/app/styles/core/table.scss b/ui/app/styles/core/table.scss index 045e5ef1eeb..17ea8b56afa 100644 --- a/ui/app/styles/core/table.scss +++ b/ui/app/styles/core/table.scss @@ -1,4 +1,4 @@ -@use "sass:math"; +@use 'sass:math'; .table { color: $text; @@ -103,6 +103,10 @@ } } + &.is-long-text { + word-break: break-word; + } + // Only use px modifiers when text needs to be truncated. // In this and only this scenario are percentages not effective. &.is-200px { diff --git a/ui/app/templates/allocations/allocation/index.hbs b/ui/app/templates/allocations/allocation/index.hbs index 19593ef11e1..e049e7e2443 100644 --- a/ui/app/templates/allocations/allocation/index.hbs +++ b/ui/app/templates/allocations/allocation/index.hbs @@ -173,7 +173,7 @@ {{row.model.name}} {{row.model.portLabel}} - {{join ", " row.model.tags}} + {{join ", " row.model.tags}} {{row.model.onUpdate}} {{if row.model.connect "Yes" "No"}}