mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +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: `
|
||||
<ng-container>
|
||||
<span class="adf-datatable-cell-value">
|
||||
<pre>{{ value$ | async | json }}</pre>
|
||||
<pre class="adf-datatable-json-cell">{{ value$ | async | json }}</pre>
|
||||
</span>
|
||||
</ng-container>
|
||||
`,
|
||||
styleUrls: ['./json-cell.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
host: { class: 'adf-datatable-cell' }
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user