summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcN3rd <subs.in.tokyo@gmail.com>2021-09-03 17:53:49 +0300
committerEric Huss <eric@huss.org>2023-09-02 07:50:23 -0700
commit5e0c68c45e07e3dfa943558539a6d7e2819437bc (patch)
tree367937aa896c9cffc010253d152d195615f04547
parent7717b9dcf26a1250f859c17101affc9e00c126c0 (diff)
Fix icons when using RTL
-rw-r--r--src/theme/css/chrome.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theme/css/chrome.css b/src/theme/css/chrome.css
index 2960e26c..2acd99c9 100644
--- a/src/theme/css/chrome.css
+++ b/src/theme/css/chrome.css
@@ -188,6 +188,10 @@ a > .hljs {
left: var(--page-padding);
}
+/* Use the correct buttons for RTL layouts*/
+[dir=rtl] .previous i.fa-angle-left:before {content:"\f105";}
+[dir=rtl] .next i.fa-angle-right:before { content:"\f104"; }
+
@media only screen and (max-width: 1080px) {
.nav-wide-wrapper { display: none; }
.nav-wrapper { display: block; }