Skip to content

Commit

Permalink
feat(notification-toast): add css var for z-index (#1041)
Browse files Browse the repository at this point in the history
* feat: adding autoHide to toast

* feat: adding autoHide to toast storybook page

* refactor: change static z-index to css variable
  • Loading branch information
marvinLaubenstein authored May 9, 2022
1 parent 807f413 commit e4c9820
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
--width-icon-container: 48px;
--radius: var(--telekom-radius-standard);
--background: var(--telekom-color-background-surface);
--z-index: 1;
/* FIXME:TOKEN not sure what elevation to use here */
--box-shadow: var(--telekom-shadow-raised-standard);

Expand Down Expand Up @@ -49,7 +50,7 @@
.notification-toast {
width: var(--width);
opacity: 0;
z-index: 1;
z-index: var(--z-index);
position: fixed;
background: var(--background);
box-shadow: var(--box-shadow);
Expand Down

0 comments on commit e4c9820

Please sign in to comment.