File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
projects/igniteui-angular/src/lib
core/styles/components/grid Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 15131513 }
15141514
15151515 %igx-grid__td--bool {
1516+ display : flex ;
1517+ flex-grow : 1 ;
1518+
15161519 igx-icon {
15171520 --component-size : #{if ($variant == ' indigo' , 2 , 1 )} ;
15181521 }
22172220 %grid-cell-number {
22182221 text-align : $grid-cell-align-num ;
22192222 justify-content : flex-end ;
2223+ flex-grow : 1 ;
22202224
22212225 %grid-cell-header-icons {
22222226 justify-content : flex-start ;
Original file line number Diff line number Diff line change 88 < div
99 igxTextHighlight class ="igx-grid__td-text "
1010 [cssClass] ="highlightClass "
11+ [class.igx-grid__td--number] ="column.dataType === 'number' || column.dataType === 'percent' || column.dataType === 'currency' "
1112 [activeCssClass] ="activeHighlightClass "
1213 [groupName] ="gridID "
1314 [value] ="formatter ? (value | columnFormatter:formatter:rowData)
3233 }
3334
3435 @if (column.dataType === 'boolean' && !this.formatter) {
36+ < div [class.igx-grid__td--bool] ="column.dataType === 'boolean' ">
3537 < igx-icon
3638 family ="default "
3739 [name] ="value ? 'confirm' : 'close' "
3840 [ngClass] ="{ 'igx-icon--success': value, 'igx-icon--error': !value } ">
3941 </ igx-icon >
42+ </ div >
4043 }
4144 @if (column.dataType === 'image') {
4245 < img [src] ="value " [alt] ="value | igxCellImageAlt " />
You can’t perform that action at this time.
0 commit comments