Skip to content

Commit 59062e2

Browse files
committed
fix(sidebar-toggler): rtl position issue
1 parent 692e4b8 commit 59062e2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

scss/_layout.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ html:not([dir="rtl"]) {
5353
margin-left: - $sidebar-width;
5454
}
5555
.aside-menu {
56+
right: 0;
5657
margin-right: - $aside-menu-width;
5758
}
5859
}
@@ -61,6 +62,7 @@ html[dir="rtl"] {
6162
margin-right: - $sidebar-width;
6263
}
6364
.aside-menu {
65+
left: 0;
6466
margin-left: - $aside-menu-width;
6567
}
6668
}
@@ -471,7 +473,6 @@ html[dir="rtl"] {
471473

472474
.aside-menu {
473475
position: fixed;
474-
right: 0;
475476
height: 100%;
476477
}
477478
}

scss/_sidebar.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
display: none;
343343
}
344344

345-
// Temporary fix for thsi issue: https://github.com/coreui/coreui-free-bootstrap-admin-template/issues/404
345+
// Temporary fix for this issue: https://github.com/coreui/coreui-free-bootstrap-admin-template/issues/404
346346
// ToDo: find better solution
347347
.sidebar-minimizer {
348348
position: fixed;
@@ -490,4 +490,10 @@
490490
}
491491
}
492492
}
493+
494+
// Temp fix for rtl sidebar-toggler
495+
// ToDo: find better solution
496+
.sidebar-toggler {
497+
margin-right: 0 !important;
498+
}
493499
}

0 commit comments

Comments
 (0)