From fe21692abe2a3f8e9ba047c0e5ff87cdb73aaea9 Mon Sep 17 00:00:00 2001 From: Cocographique Date: Mon, 17 Feb 2020 14:37:52 +0000 Subject: [PATCH] [IMP] website: set lead class font-size to match editor value Currently, when you edit a paragraph with the lead class, the font-size is set to x px. This value is not available in the font-size dropdown of the editor. So no value is set as active (checked). With this change, the lead font-size will now be 18px and match a default value from the editor. task-2209960 closes odoo/odoo#46902 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/scss/bootstrap_overridden.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/website/static/src/scss/bootstrap_overridden.scss b/addons/website/static/src/scss/bootstrap_overridden.scss index e43f068409b..b098ebee5ed 100644 --- a/addons/website/static/src/scss/bootstrap_overridden.scss +++ b/addons/website/static/src/scss/bootstrap_overridden.scss @@ -63,6 +63,8 @@ $h6-font-size: $font-size-base * $o-theme-h6-font-size-multiplier !default; $headings-font-family: $o-theme-headings-font !default; $headings-color: o-color('o-cc1-headings') !default; +$lead-font-size: 1.125rem !default; + $text-muted: mute-color($body-color) !default; // Buttons @@ -114,6 +116,7 @@ $navbar-padding-y: if(index(('fill', 'pills', 'outline'), o-website-value('heade $navbar-nav-link-padding-x: if(index(('outline', 'block'), o-website-value('header-links-style')), .5rem * 3, null) !default; $navbar-nav-link-padding-x: if(o-website-value('header-links-style') == 'border-bottom', .5rem * 2, null) !default; + // Jumbotron $jumbotron-bg: transparent !default;