Fix toast's styles

This commit is contained in:
Stanislav Romanov 2022-10-12 16:50:39 +03:00
parent bb0069445a
commit 3e6d08e042
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'>