Skip to content

Commit e7aada8

Browse files
committed
fix: sidebar-right position when rtl is active
1 parent 8117e81 commit e7aada8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scss/_sidebar.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
padding: $sidebar-padding;
1313
box-shadow: none;
1414

15+
&.c-sidebar-right {
16+
order: 99;
17+
}
18+
1519
@include media-breakpoint-down(breakpoint-before($mobile-breakpoint)) {
1620
// Some of our components use this property to detect if the sidebar has mobile behavior.
1721
--is-mobile: true;
@@ -43,7 +47,6 @@
4347
margin-left: - $sidebar-width;
4448
}
4549
&.c-sidebar-right {
46-
order: 99;
4750
margin-right: - $sidebar-width;
4851
}
4952
}

0 commit comments

Comments
 (0)