Fixed expand icons

This commit is contained in:
Zakary Timson 2018-06-27 12:38:02 -04:00
parent d96ff93076
commit bbe41ef0b5
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@ztimson/ng-datatable",
"version": "1.6.2",
"version": "1.6.3",
"homepage": "https://github.com/ztimson/ng-datatable",
"license": "Apache-2.0",
"author": {

View File

@ -30,7 +30,7 @@
<input type="checkbox" [checked]="selectedRows.has(i)"/>
</td>
<td *ngIf="expandedTemplate" class="ngdt-expand">
<span *ngIf="!selectedRows.has(i)">&#9698;</span>
<span *ngIf="!selectedRows.has(i)">&#9658;</span>
<span *ngIf="selectedRows.has(i)">&#9660;</span>
</td>
<ng-container *ngFor="let c of columns">

View File

@ -3,7 +3,8 @@ import {Column} from './column';
@Component({
selector: 'ng-datatable',
templateUrl: 'ng-datatable.component.html'
templateUrl: 'ng-datatable.component.html',
styles: ['.ngdt-expand {font-family: sans-serif;}']
})
export class NgDatatableComponent implements OnInit {
// Inputs ============================================================================================================