mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-07 18:25:09 +00:00
[ADF-4372] Fix json type Data Column styles (#4576)
This commit is contained in:
parent
deff3965b0
commit
62c71dbec9
@ -0,0 +1,4 @@
|
|||||||
|
.adf-datatable-json-cell {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
@ -24,10 +24,11 @@ import { DataTableCellComponent } from './datatable-cell.component';
|
|||||||
template: `
|
template: `
|
||||||
<ng-container>
|
<ng-container>
|
||||||
<span class="adf-datatable-cell-value">
|
<span class="adf-datatable-cell-value">
|
||||||
<pre>{{ value$ | async | json }}</pre>
|
<pre class="adf-datatable-json-cell">{{ value$ | async | json }}</pre>
|
||||||
</span>
|
</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
`,
|
`,
|
||||||
|
styleUrls: ['./json-cell.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
host: { class: 'adf-datatable-cell' }
|
host: { class: 'adf-datatable-cell' }
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user