Skip to content

Commit

Permalink
[RTL] Fix top-nav position
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed May 28, 2024
1 parent 3674691 commit 857846b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
@import "drawio";
@import "shortcodes";
@import "swagger";
@import "support/rtl";


@if $td-enable-google-fonts {
Expand Down
7 changes: 7 additions & 0 deletions assets/scss/support/_rtl.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@each $breakpoint, $_ in $container-max-widths {
@include media-breakpoint-up($breakpoint) {
html[dir="rtl"] .ms-#{$breakpoint}-auto {
margin-left: initial !important;
}
}
}

0 comments on commit 857846b

Please sign in to comment.