Fix width and simplify markup in 'no results found' message

Refs #737
This commit is contained in:
Will Abson
2016-09-23 18:37:26 +01:00
parent f412871b25
commit 969d961e23
2 changed files with 1 additions and 4 deletions

View File

@@ -3,7 +3,6 @@
text-align: left; text-align: left;
} }
:host .mdl-data-table td { :host .mdl-data-table td {
max-width: 0;
white-space: nowrap; white-space: nowrap;
} }
:host .mdl-data-table td.col-mimetype-icon { :host .mdl-data-table td.col-mimetype-icon {

View File

@@ -31,9 +31,7 @@
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width"> class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
<tbody> <tbody>
<tr> <tr>
<td> <td class="mdl-data-table__cell--non-numeric">{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchTerm} }}</td>
<div class="truncate"><b> {{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchTerm} }}</b></div>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>