Skip to content

Commit 547d5f3

Browse files
Wooram JunFoxandxss
authored andcommitted
Preserve margin-bottom of each toasts.
Closes #188
1 parent 2af8042 commit 547d5f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/toastr.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,15 @@ button.toast-close-button {
169169
&.toast-top-center .toast,
170170
&.toast-bottom-center .toast {
171171
width: 300px;
172-
margin: auto;
172+
margin-left: auto;
173+
margin-right: auto;
173174
}
174175

175176
&.toast-top-full-width .toast,
176177
&.toast-bottom-full-width .toast {
177178
width: 96%;
178-
margin: auto;
179+
margin-left: auto;
180+
margin-right: auto;
179181
}
180182
}
181183

0 commit comments

Comments
 (0)