diff options
Diffstat (limited to 'ref/css/general.css')
| -rw-r--r-- | ref/css/general.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ref/css/general.css b/ref/css/general.css index 9946cfc0..9121c6f5 100644 --- a/ref/css/general.css +++ b/ref/css/general.css @@ -86,11 +86,12 @@ h6:target::before { box-sizing: border-box; background-color: var(--bg); } -.no-js .page-wrapper, +html:not(.js) .page-wrapper, .js:not(.sidebar-resizing) .page-wrapper { transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */ } -[dir=rtl] .js:not(.sidebar-resizing) .page-wrapper { +[dir=rtl]:not(.js) .page-wrapper, +[dir=rtl].js:not(.sidebar-resizing) .page-wrapper { transition: margin-right 0.3s ease, transform 0.3s ease; /* Animation: slide away */ } |
