Skip to content

Commit ee87527

Browse files
committed
chore(*): Address comments on styling.
1 parent 5ab9919 commit ee87527

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

projects/igniteui-angular/src/lib/core/styles/components/grid/_grid-component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,10 @@
706706
@extend %igx-grid__tree-cell-cosy--padding-level-#{$i} !optional;
707707
}
708708
}
709+
710+
@include e(td, $m: pinned-chip) {
711+
@extend %grid-cell--pinned-chip--cosy !optional;
712+
}
709713
}
710714

711715
@include m(compact) {
@@ -811,6 +815,10 @@
811815
@extend %igx-grid__tree-cell-compact--padding-level-#{$i} !optional;
812816
}
813817
}
818+
819+
@include e(td, $m: pinned-chip) {
820+
@extend %grid-cell--pinned-chip--compact !optional;
821+
}
814822
}
815823

816824
@include _excel-filtering-partial();

projects/igniteui-angular/src/lib/core/styles/components/grid/_grid-theme.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,15 @@
14181418
}
14191419

14201420
%grid-cell--pinned-chip {
1421-
margin-right: rem(4px);
1421+
margin-#{$right}: rem(12px);
1422+
}
1423+
1424+
%grid-cell--pinned-chip--cosy {
1425+
margin-#{$right}: rem(8px);
1426+
}
1427+
1428+
%grid-cell--pinned-chip--compact {
1429+
margin-#{$right}: rem(4px);
14221430
}
14231431

14241432
%grid-cell-header {

projects/igniteui-angular/src/lib/core/styles/themes/schemas/light/_grid.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
/// @prop {Map} edit-mode-color [igx-color: ('secondary', 500)] - The text color in edit mode.
4848
/// @prop {Map} edited-row-indicator [igx-color: ('grays', 400)] - The indicator's color of edited row.
4949
/// @prop {Map} cell-edited-value-color [igx-color: ('grays', 600)] - The color of cell edited value.
50-
/// @prop {Map} cell-disabled-color [igx-color: ('grays', 600)] - The text color of a disabled cell.
50+
/// @prop {Map} cell-disabled-color [igx-color: ('grays', 500)] - The text color of a disabled cell.
5151
/// @prop {Map} resize-line-color [igx-color: ('secondary', 500)] - The table header resize line color.
5252
/// @prop {Map} drop-indicator-color [igx-color: ('secondary', 500)] - The color of the drop indicator.
5353
/// @prop {Map} grouparea-background [igx-color: ('grays', 100), hexrgba: #fff] - The grid group area background color.
@@ -235,7 +235,7 @@ $_light-grid: extend(
235235
),
236236

237237
cell-disabled-color: (
238-
igx-color: ('grays', 400)
238+
igx-color: ('grays', 500)
239239
),
240240

241241
resize-line-color: (

0 commit comments

Comments
 (0)