Skip to content

Commit

Permalink
fixup! Feat(web): Introduce the Toast component #DS-1112
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna committed Feb 27, 2024
1 parent b1a3342 commit f7a1f87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/web/src/scss/components/Toast/_ToastBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.ToastBar--dismissible {
display: grid;
grid-template-columns: 1fr auto;
column-gap: theme.$gap;
column-gap: theme.$bar-gap;
align-items: start;
}

Expand Down
6 changes: 3 additions & 3 deletions packages/web/src/scss/components/Toast/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ <h2 class="docs-Heading">Alignment</h2>
<div id="toast-example" class="Toast Toast--bottom Toast--center" aria-live="polite">
<div class="Toast__queue">

<div id="my-dismissible-toast" class="ToastBar ToastBar--inverted ToastBar--dismissible">
<div id="my-dismissible-toast" class="ToastBar ToastBar--success ToastBar--dismissible">
<div class="ToastBar__content">
<svg width="20" height="20" aria-hidden="true">
<use xlink:href="/icons/svg/sprite.svg#info" />
<use xlink:href="/icons/svg/sprite.svg#check-plain" />
</svg>
<div class="ToastBar__message">
I was first!
Expand All @@ -99,7 +99,7 @@ <h2 class="docs-Heading">Alignment</h2>
</button>
</div>

<div id="my-other-dismissible-toast" class="ToastBar ToastBar--inverted ToastBar--dismissible">
<div id="my-other-dismissible-toast" class="ToastBar ToastBar--informative ToastBar--dismissible">
<div class="ToastBar__content">
<svg width="20" height="20" aria-hidden="true">
<use xlink:href="/icons/svg/sprite.svg#info" />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f7a1f87

Please sign in to comment.