Skip to content

Commit 0edb749

Browse files
committed
margin between toasts
1 parent 288c56e commit 0edb749

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/app/core/toast/toast.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div [mptStyles]="[styles.wrapper]">
22
<ul class="list-unstyled">
3-
<li *ngFor="let toast of toasts">
3+
<li *ngFor="let toast of toasts" [mptStyles]="[styles.list]">
44
<div [mptStyles]="toast.styles">{{toast.message}}</div>
55
</li>
66
</ul>

src/app/core/toast/toast.component.styles.ts

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const styles = StyleSheet.create({
88
zIndex: '999999',
99
display: 'table',
1010
},
11+
list: {
12+
marginBottom: '12px',
13+
},
1114
toastBase: {
1215
color: 'white',
1316
opacity: '0.9',

0 commit comments

Comments
 (0)