From c107e983caa4089058c75ab9f0d1652ddf31dfac Mon Sep 17 00:00:00 2001 From: "jerome hanke (jhk)" Date: Wed, 22 Jan 2020 09:13:01 +0000 Subject: [PATCH] [FIX] portal: rtl is active even without website Steps to reproduce: - install sales - install a language with rtl support - set the installed language as preffered language for current user - preview any sale order/quotation on the portal Previous behavior: the portal is not showed right to left Current behavior: rtl is working a intended opw-2167151 closes odoo/odoo#43737 X-original-commit: 2855ac7a5b859e76bde39da2f584aed3ff7ec163 Signed-off-by: Nicolas Martinelli (nim) --- addons/portal/static/src/scss/portal.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/portal/static/src/scss/portal.scss b/addons/portal/static/src/scss/portal.scss index 0bf8258fa5a..4be9573b76d 100644 --- a/addons/portal/static/src/scss/portal.scss +++ b/addons/portal/static/src/scss/portal.scss @@ -24,6 +24,12 @@ $o-portal-bg-color: desaturate($gray-200, 100%); $o-portal-use-default-colors: $body-bg == $o-portal-default-body-bg; // Frontend general +body { + // Set frontend direction that will be flipped with + // rtlcss for right-to-left text direction. + direction: ltr; +} + header { .navbar-brand { flex: 0 0 auto;