Skip to content

Commit

Permalink
fix: set max width on toasts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Jan 29, 2025
1 parent f01b38d commit 096aea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/sass/component/_toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ $toastHideTimeoutBase: var(--c-toast-hide-timeout-base, 4s); // Base timeout
margin: calc(#{$base} * 2);
display: grid;
z-index: $level-9;
width: min(100vw, calc(#{$base} * 65));

&.c-toast--top-left {
top: 0;
Expand Down

0 comments on commit 096aea7

Please sign in to comment.