From b09dcfe1c2b66b14691ac788a4c385a2653a4c24 Mon Sep 17 00:00:00 2001 From: qsm-odoo <qsm@odoo.com> Date: Tue, 29 Nov 2022 15:41:45 +0000 Subject: [PATCH] [FIX] website: update comment in user_custom_bootstrap_overridden file The comment became outdated: - For 14.0 and above: mentioned the "Customize dialog" which does not exist anymore. - For 16.0 and above: mentioned "Bootstrap 4" instead of "Bootstrap 5". Related to opw-3056683 closes odoo/odoo#106902 X-original-commit: ed9a783289452c1d1e225eac3494d32e62180d95 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> --- .../src/scss/user_custom_bootstrap_overridden.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/addons/website/static/src/scss/user_custom_bootstrap_overridden.scss b/addons/website/static/src/scss/user_custom_bootstrap_overridden.scss index ecf5d4602cc0..307e0da286e0 100644 --- a/addons/website/static/src/scss/user_custom_bootstrap_overridden.scss +++ b/addons/website/static/src/scss/user_custom_bootstrap_overridden.scss @@ -5,7 +5,7 @@ // for your website, check the 'user_custom_rules.scss' file you can also edit. // /!\ // -// You can change the value of a variable you can find in the bootstrap 4 +// You can change the value of a variable you can find in the bootstrap 5 // documentation (or in the file /web/static/lib/bootstrap/scss/_variables.scss) // and Odoo will automatically adapt its design to your new bootstrap. For // example, doing this will make some shadows and gradients appear, especially @@ -15,8 +15,9 @@ // $enable-gradients: true; // // Notice that Odoo already overrides bootstrap variables according to your -// choices in the "Customize Theme" dialog, you should first take a look at -// it and do customizations this way. Indeed, if you overridde the same -// variables, Odoo will either have to ignore them or not be able to make -// the "Customize Theme" dialog work for these variables anymore. +// choices via the website builder (especially 3rd tab of the editor panel). You +// should first take a look at it and do customizations this way. Indeed, if you +// override the same variables yourself, Odoo will either have to ignore them or +// not be able to make the website builder work properly for these variables +// anymore. // -- GitLab