Skip to content

Commit

Permalink
fix/refs T33256): Break segments overflow (#1528)
Browse files Browse the repository at this point in the history
Add overflow-word-break to segments text boxes
  • Loading branch information
salisdemos authored Jun 14, 2023
1 parent a9e0ea2 commit f0aa111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion client/js/components/procedure/SegmentsList/SegmentsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@
{{ placesObject[rowData.relationships.place.data.id].attributes.name }}
</template>
<template v-slot:text="rowData">
<div v-cleanhtml="rowData.attributes.text" />
<div
v-cleanhtml="rowData.attributes.text"
class="overflow-word-break" />
</template>
<template v-slot:recommendation="rowData">
<div v-cleanhtml="rowData.attributes.recommendation !== '' ? rowData.attributes.recommendation : '-'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
@click="toggleClaimSegment" />
</div>
<div
class="segment-list-col--l"
class="segment-list-col--l overflow-word-break"
v-cleanhtml="visibleSegmentText" />
<div class="segment-list-col--s">
<button
Expand All @@ -85,7 +85,7 @@
aria-hidden="true" />
</button>
</div>
<div class="segment-list-col--l">
<div class="segment-list-col--l overflow-word-break">
<div
v-if="isAssignedToMe === false"
:class="{ 'color--grey': visibleRecommendation === '' }"
Expand Down

0 comments on commit f0aa111

Please sign in to comment.