#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:
Denys Vuika
2016-06-22 16:11:38 +01:00
parent d00ae6c046
commit 5c8d13284b
5 changed files with 40 additions and 14 deletions

View File

@@ -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 -->