mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
#254 UI improvements
- out-of-box ‘ellipsis-cell’ class for styling columns - extended demo with long column text truncation - table cell layout improvements
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
<div *ngSwitchCase="'image'" class="cell-value">
|
||||
<img class="thumbnail" [src]="getCellValue(content, col)">
|
||||
</div>
|
||||
<span *ngSwitchCase="'date'" class="cell-value">
|
||||
{{ getCellValue(content, col) }}
|
||||
</span>
|
||||
<span *ngSwitchDefault class="cell-value">
|
||||
{{ getCellValue(content, col) }}
|
||||
</span>
|
||||
<div *ngSwitchCase="'date'" class="cell-value">
|
||||
<span>{{ getCellValue(content, col) }}</span>
|
||||
</div>
|
||||
<div *ngSwitchDefault class="cell-value">
|
||||
<span>{{ getCellValue(content, col) }}</span>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<!-- Actions: folder -->
|
||||
|
Reference in New Issue
Block a user