Skip to content

Commit b32bb90

Browse files
authored
[RTL] Fix top-nav position (#2018)
1 parent 09c158b commit b32bb90

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

assets/scss/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
@import "drawio";
3636
@import "shortcodes";
3737
@import "swagger";
38+
@import "support/rtl";
3839

3940

4041
@if $td-enable-google-fonts {

assets/scss/support/_rtl.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@each $breakpoint, $_ in $container-max-widths {
2+
@include media-breakpoint-up($breakpoint) {
3+
html[dir="rtl"] .ms-#{$breakpoint}-auto {
4+
margin-left: initial !important;
5+
}
6+
}
7+
}

userguide/hugo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ menu:
3030
languages:
3131
en:
3232
languageName: English
33+
languageDirection: rtl
3334
params:
3435
description: Docsy does docs
3536

0 commit comments

Comments
 (0)