File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
projects/igniteui-angular/src/lib
core/styles/components/grid Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 15141514 }
15151515
15161516 %igx-grid__td--bool {
1517+ display : flex ;
1518+ flex-grow : 1 ;
1519+
15171520 igx-icon {
15181521 --component-size : #{if ($variant == ' indigo' , 2 , 1 )} ;
15191522 }
20842087
20852088 .sort-icon {
20862089 color : var-get ($theme , ' header-selected-text-color' );
2087-
2090+
20882091 ::after {
20892092 background : var-get ($theme , ' header-selected-background' );
20902093 }
21122115 & %igx-grid-th--sorted {
21132116 .sort-icon {
21142117 color : var-get ($theme , ' header-selected-text-color' );
2115-
2118+
21162119 > igx-icon {
21172120 color : inherit ;
21182121 }
21192122
21202123 & :focus ,
21212124 & :hover {
21222125 color : var-get ($theme , ' header-selected-text-color' );
2123-
2126+
21242127 > igx-icon {
21252128 color : inherit ;
21262129 }
21772180 .sort-icon {
21782181 opacity : 1 ;
21792182 color : var-get ($theme , ' sorted-header-icon-color' );
2180-
2183+
21812184 > igx-icon {
21822185 color : inherit ;
21832186 }
21842187
21852188 & :hover {
21862189 color : var-get ($theme , ' sortable-header-icon-hover-color' );
2187-
2190+
21882191 > igx-icon {
21892192 color : inherit ;
21902193 }
22202223 %grid-cell-number {
22212224 text-align : $grid-cell-align-num ;
22222225 justify-content : flex-end ;
2226+ flex-grow : 1 ;
22232227
22242228 %grid-cell-header-icons {
22252229 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