Skip to content

Commit e7e179c

Browse files
committed
fix(Toast): set the proper close button position when RTL direction is enabled
1 parent ac70821 commit e7e179c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scss/_toasts.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@
4141
@include border-top-radius(subtract($toast-border-radius, $toast-border-width));
4242

4343
.btn-close {
44-
margin-right: $toast-padding-x * -.5;
45-
margin-left: $toast-padding-x;
44+
@include ltr-rtl("margin-right", $toast-padding-x * -.5);
45+
@include ltr-rtl("margin-left", $toast-padding-x);
46+
// margin-right: $toast-padding-x * -.5;
47+
// margin-left: $toast-padding-x;
4648
}
4749
}
4850

0 commit comments

Comments
 (0)