Fix style of task-toast

This commit is contained in:
Stanislav Romanov 2022-09-15 14:12:53 +03:00
parent 75037c475a
commit 0126016154
3 changed files with 3 additions and 3 deletions

View file

@ -5,5 +5,5 @@
onFinish=@onFinish
}}
>
<div class='bg-base-5 h-1.5' ...attributes></div>
<div class='bg-base-5 h-0.5' ...attributes></div>
</div>

View file

@ -14,7 +14,7 @@
{{/if}}
<div>
<div class='mb-2'>Task {{this.taskType}} uid:{{this.taskUid}}</div>
<div class='mb-2'>Task {{this.taskUid}} {{this.taskType}}</div>
<div class={{if this.task.error 'mb-2'}}>
Status:
<span class={{this.color}}>{{this.taskStatus}}</span>

View file

@ -1,6 +1,6 @@
{{#in-element this.toasts.destinationElement insertBefore=null}}
<div
class='absolute w-full max-w-xs border rounded bg-base-7 shadow-sm'
class='absolute max-w-sm border rounded bg-base-7 shadow-sm'
role='alert'
style={{this.style}}
{{did-insert this.didInsert}}