Skip to content

Commit b7083ca

Browse files
authored
fix(grid): cropped invalid cell icon (#15992)
1 parent 0825a92 commit b7083ca

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,7 @@
737737
igx-time-picker {
738738
position: relative;
739739
height: calc(100% - #{$editing-outline-width * 2});
740-
width: calc(100% - #{$editing-outline-width * 2}) !important;
741-
inset-inline-start: $editing-outline-width;
740+
width: 100% !important;
742741
overflow: hidden;
743742
}
744743

@@ -1783,7 +1782,6 @@
17831782
padding-inline-end: rem(4px) !important;
17841783

17851784
> igx-icon {
1786-
margin-inline-start: auto;
17871785
color: color($color: 'error');
17881786
width: var(--igx-icon-size, rem(18px));
17891787
height: var(--igx-icon-size, rem(18px));
@@ -1889,11 +1887,10 @@
18891887
%igx-grid__td--editing {
18901888
background: var-get($theme, 'cell-editing-background') !important;
18911889
box-shadow: inset 0 0 0 $editing-outline-width var-get($theme, 'edit-mode-color');
1892-
padding: 0 !important;
1890+
padding-inline: rem(4px);
18931891

18941892
&.igx-grid__td--invalid {
18951893
box-shadow: inset 0 0 0 rem(2px) color($color: 'error') !important;
1896-
padding-inline-end: rem(4px) !important;
18971894
}
18981895

18991896
&%grid-cell-number {
@@ -2084,7 +2081,7 @@
20842081

20852082
.sort-icon {
20862083
color: var-get($theme, 'header-selected-text-color');
2087-
2084+
20882085
::after {
20892086
background: var-get($theme, 'header-selected-background');
20902087
}
@@ -2112,15 +2109,15 @@
21122109
&%igx-grid-th--sorted {
21132110
.sort-icon {
21142111
color: var-get($theme, 'header-selected-text-color');
2115-
2112+
21162113
> igx-icon {
21172114
color: inherit;
21182115
}
21192116

21202117
&:focus,
21212118
&:hover {
21222119
color: var-get($theme, 'header-selected-text-color');
2123-
2120+
21242121
> igx-icon {
21252122
color: inherit;
21262123
}
@@ -2177,14 +2174,14 @@
21772174
.sort-icon {
21782175
opacity: 1;
21792176
color: var-get($theme, 'sorted-header-icon-color');
2180-
2177+
21812178
> igx-icon {
21822179
color: inherit;
21832180
}
21842181

21852182
&:hover {
21862183
color: var-get($theme, 'sortable-header-icon-hover-color');
2187-
2184+
21882185
> igx-icon {
21892186
color: inherit;
21902187
}

0 commit comments

Comments
 (0)