mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Use 100% of screen width for results on smaller screens
- Ellipsis used and text truncated if name overflows - Icon column does not expand out as screen gets wider Refs #228
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<table data-automation-id="search_result_table" *ngIf="results && results.length && searchTerm" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="mdl-data-table__cell--non-numeric"></th>
|
||||
<th class="mdl-data-table__cell--non-numeric col-mimetype-icon"></th>
|
||||
<th class="mdl-data-table__cell--non-numeric col-display-name">
|
||||
{{'SEARCH.RESULTS.COLUMNS.NAME' | translate}}
|
||||
</th>
|
||||
@@ -18,7 +18,7 @@
|
||||
<tbody>
|
||||
|
||||
<tr *ngFor="let result of results; let idx = index" (click)="onItemClick(result, $event)">
|
||||
<td><img src="{{getMimeTypeIcon(result)}}" /></td>
|
||||
<td class="col-mimetype-icon"><img src="{{getMimeTypeIcon(result)}}" /></td>
|
||||
<td class="mdl-data-table__cell--non-numeric col-display-name"
|
||||
attr.data-automation-id=file_{{result.entry.name}} >{{result.entry.name}}</td>
|
||||
<td class="mdl-data-table__cell--non-numeric col-modified-by"
|
||||
|
Reference in New Issue
Block a user