Skip to content

Commit

Permalink
Avoid pixel values
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jan 2, 2024
1 parent 8573000 commit 312752d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/snackbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@

.components-snackbar__content-with-icon {
position: relative;
padding-left: $grid-unit-30;
padding-left: $icon-size;
}

.components-snackbar__icon {
position: absolute;
left: $grid-unit-10 * -1;
top: -3px;
top: calc((#{$icon-size - ($default-font-size * $default-line-height)}) / -2);
}

.components-snackbar__dismiss-button {
Expand Down

0 comments on commit 312752d

Please sign in to comment.