[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) <nim@odoo.com>
This commit is contained in:
jerome hanke (jhk)
2020-01-22 11:47:37 +00:00
parent 7e09f931ff
commit c107e983ca
@@ -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;