Merge pull request #20 from kaermorchen/fix/toast-style

Fix toast's styles
This commit is contained in:
Stanislav Romanov 2022-10-12 16:53:44 +03:00 committed by GitHub
commit b4ba2f7690
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{{#in-element this.toaster.destinationElement insertBefore=null}}
<div
class='absolute border rounded shadow-sm'
class='fixed border rounded shadow-sm'
role='alert'
style={{this.style}}
{{did-insert this.didInsert}}

View file

@ -2,6 +2,7 @@
@autoClose={{this.autoClose}}
@onClose={{@onClose}}
@closeIndicatorClass={{this.bg}}
class='bg-base-7'
as |toast|
>
<div class='flex items-center'>