File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { flip } from ' svelte/animate' ;
32 import { fly } from ' svelte/transition' ;
43 import { Layout , Toast } from ' @appwrite.io/pink-svelte' ;
54 import { dismissNotification , notifications } from ' ../stores/notifications' ;
98 <section >
109 <Layout .Stack gap =" s" >
1110 {#each $notifications as notification (notification .id )}
12- <span animate:flip ={{ duration : 500 }} transition:fly |global ={{ x : 50 }}>
11+ <span transition:fly |global ={{ x : 50 }}>
1312 <Toast
1413 isHtml ={notification .isHtml }
1514 title ={notification .title }
3837 top : calc (var (--main-header-height ) + 12px );
3938 }
4039
40+ span {
41+ display : block ;
42+ width : fit-content ;
43+ margin-left : auto ;
44+ }
45+
4146 @media (min-width : 768px ) {
4247 section {
4348 right : 24px ;
You can’t perform that action at this time.
0 commit comments