From 4f2fc18fbd0c450b2255446661839c099b62b17b Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 26 Feb 2020 09:40:13 +0100 Subject: [PATCH] Adjusted dialog for right-to-left languages --- src/assets/stylesheets/layout/_dialog.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/assets/stylesheets/layout/_dialog.scss b/src/assets/stylesheets/layout/_dialog.scss index 834023a9a..43c27aaa9 100644 --- a/src/assets/stylesheets/layout/_dialog.scss +++ b/src/assets/stylesheets/layout/_dialog.scss @@ -47,6 +47,12 @@ opacity: 0; z-index: 2; + // Adjust for right-to-left languages + [dir="rtl"] & { + right: initial; + left: px2rem(16px);; + } + // Show open dialog &[data-md-state="open"] { transform: translateY(0);