From a403155dec769418ede3c9128a887847f97a956f Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 6 Nov 2018 12:22:45 +0000 Subject: [PATCH] [FIX] website: rtl on frontend when logged out Before this commit, RTL on frontend was only enabled for connected user. To have RTL, we add the direction on the element, and the RTL version of the stylesheet for the applicable languages are generated thanks to rtlcss. opw-1892757 closes #28434 --- addons/website/static/src/scss/website.ui.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/website/static/src/scss/website.ui.scss b/addons/website/static/src/scss/website.ui.scss index c4a6f704f7b..1d1c42203b4 100644 --- a/addons/website/static/src/scss/website.ui.scss +++ b/addons/website/static/src/scss/website.ui.scss @@ -4,8 +4,12 @@ /// // LAYOUTING -body.o_connected_user { +body { + // Set frontend direction that will be flipped with + // rtlcss for right-to-left text direction. direction: ltr; +} +body.o_connected_user { padding-top: $o-navbar-height!important; }