summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/primary_variables.scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-09-11 10:58:17 +0200
committerqsm-odoo <qsm@odoo.com>2018-09-11 10:58:17 +0200
commitc04d3d146068bd3e55164d58c4884cd3a902d26a (patch)
tree61d2a0efcc0067bf23406cbf07eff3b31e695fcc /addons/web/static/src/scss/primary_variables.scss
parente3bc059c3649a05c12cd3c8099092282c10141b7 (diff)
[FIX] portal, web, web_editor: frontend font-size
Commit https://github.com/odoo/odoo/commit/903ff171acbef7f9fe6e533f43b99eba801b200f lowered the font-size to 14px for the frontend by customizing the bootstrap variable in the portal app. It changed the web_editor rte_inline tour accordingly. This however broke the test on runbot "base" database, as the font-size in the editor without having installed the portal app was still set to 16px. Commit https://github.com/odoo/odoo/commit/e3bc059c3649a05c12cd3c8099092282c10141b7 only moved the failed test from "base" to "all" database. This commit unifies the font-size for all frontends by setting it in the web app. So, after this commit: reports, editor, login screen and frontend will always have a font-size of 14px no matter the application which is installed (except themes).
Diffstat (limited to 'addons/web/static/src/scss/primary_variables.scss')
-rw-r--r--addons/web/static/src/scss/primary_variables.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/primary_variables.scss b/addons/web/static/src/scss/primary_variables.scss
index 6c0b2187a09..7601c2225a7 100644
--- a/addons/web/static/src/scss/primary_variables.scss
+++ b/addons/web/static/src/scss/primary_variables.scss
@@ -106,3 +106,6 @@ $o-kanban-mobile-tabs-height: 40px;
// Used to manage spacing in complex dropdown menu
$o-kanban-dashboard-dropdown-complex-gap: 5px;
+
+// For the frontend part
+$o-theme-font-size-base: (14 / 16) * 1rem;