From 30e9cff16dfd5fbf101882447d62e2d124f4a2cf Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 23 Sep 2022 17:10:45 +0000 Subject: [PATCH] [FIX] web: fix font used on the frontend when website is not installed Before this commit, when website was not installed, the frontend used the default bootstrap font. That font was not receiving the unicode support Odoo provide in the backend or the frontend when website is installed. This is probably visible on some portal pages in hebrew or something like that, so this could back-ported in stable if found necessary (in that case, the fix to the `o-add-unicode-support-font` in this PR should be back-ported too). task-2993054 closes odoo/odoo#101068 X-original-commit: f7cfcae0f0169774e0b66b8b8083005a7cd34eaa Related: odoo/design-themes#593 Signed-off-by: Romain Derie (rde) Signed-off-by: Quentin Smetz (qsm) --- addons/web/static/src/scss/bootstrap_overridden_frontend.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/scss/bootstrap_overridden_frontend.scss b/addons/web/static/src/scss/bootstrap_overridden_frontend.scss index 58c3b7cb6b9..d6ec5350397 100644 --- a/addons/web/static/src/scss/bootstrap_overridden_frontend.scss +++ b/addons/web/static/src/scss/bootstrap_overridden_frontend.scss @@ -32,6 +32,8 @@ $border-width: 1px !default; // BS Default // // Font, line-height, and color for body text, headings, and more. +$font-family-sans-serif: o-add-unicode-support-font($o-system-fonts) !default; + $font-size-base: (14 / 16) * 1rem !default; // Inherit color for blockquote-footer, use text-muted on top of it if you want