Skip to content

Commit

Permalink
Fix edit template dropdown style in RTL (OrchardCMS#3709)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored and sebastienros committed May 30, 2019
1 parent 6e597b4 commit 62d6ade
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/OrchardCore.Themes/TheAdmin/Assets/scss/TheAdmin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ body {
margin-bottom: $footer-height;
}

/* rtl:ignore */
[dir=rtl] .dropdown-menu {
left: auto !important;
right: 0px !important;
transform: translate3d(0px, 38px, 0px) !important;
}

.left-sidebar-compact .ta-footer {
width: calc(100% - 60px);
transition: width 0.2s ease-in-out, width 0.2s ease-in-out;
Expand Down
4 changes: 4 additions & 0 deletions src/OrchardCore.Themes/TheAdmin/wwwroot/Styles/TheAdmin.css
Original file line number Diff line number Diff line change
Expand Up @@ -9192,6 +9192,10 @@ html[dir], [dir] body {

[dir] body {
margin-bottom: 40px; }
[dir=rtl] .dropdown-menu {
left: auto !important;
right: 0px !important;
transform: translate3d(0px, 38px, 0px) !important; }

.left-sidebar-compact .ta-footer {
width: calc(100% - 60px);
Expand Down

Large diffs are not rendered by default.

0 comments on commit 62d6ade

Please sign in to comment.