Skip to content

Commit 50af1cb

Browse files
authored
Merge pull request #8226 from IgniteUI/SIvanova/center-add-row-snackbar
style(grid): position the "new row snackbar" in the center
2 parents 46d6065 + 65964b3 commit 50af1cb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,8 +2347,9 @@
23472347
%igx-grid__addrow-snackbar {
23482348
position: absolute;
23492349
z-index: 5;
2350-
left: 35%;
2351-
bottom: 25%;
2350+
bottom: rem(24px);
2351+
left: 50%;
2352+
transform: translateX(-50%);
23522353
}
23532354

23542355
%igx-grid__filtering-cell {

projects/igniteui-angular/src/lib/core/styles/components/snackbar/_snackbar-theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@
111111
background: --var($theme, 'background');
112112
backface-visibility: hidden;
113113
box-shadow: --var($theme, 'shadow');
114-
border-radius: --var($theme, 'border-radius')
114+
border-radius: --var($theme, 'border-radius');
115+
backdrop-filter: blur(8px);
115116
}
116117

117118
%igx-snackbar-button {

0 commit comments

Comments
 (0)