Skip to content

Commit df5aaa7

Browse files
author
Andrea Barbasso
committed
[DSC-2386] fix table view
1 parent 577de40 commit df5aaa7

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/metadataGroup/table/table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</tr>
99
<tr *ngFor="let index of componentsToBeRenderedMap.keys();">
1010
<td *ngFor="let mdg of componentsToBeRenderedMap.get(index)">
11-
<ds-metadata-render class="w-100"
11+
<ds-metadata-render class="w-100 auto-phrase"
1212
[item]="item"
1313
[field]="mdg.field"
1414
[metadataValue]="mdg.value"></ds-metadata-render>

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/metadataGroup/table/table.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
margin-left: -0.75rem !important;
33
margin-right: -0.75rem !important;
44
}
5+
6+
td {
7+
word-break: auto-phrase;
8+
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
:host {
22
word-break: break-word;
3+
&.auto-phrase {
4+
word-break: auto-phrase;
5+
}
36
}

0 commit comments

Comments
 (0)