From 0fc0d85c2ce538150aad18f0e01f0f4d35215f1e Mon Sep 17 00:00:00 2001 From: xlu-odoo Date: Thu, 23 Sep 2021 16:30:48 +0000 Subject: [PATCH] [FIX] theme_vehicle: fix btn-lg size This commit removes the modified size for large (lg) buttons. They were far too big. It also slightly changes the medium buttons accordingly. This is not supposed to change anymore in stable versions but in this case the big buttons were causing issues in eCommerce pages. closes odoo/design-themes#528 X-original-commit: 65aefeb3e97c9ae1da30f2d3ced2572fa9a3d740 Signed-off-by: Quentin Smetz (qsm) --- theme_vehicle/static/src/scss/primary_variables.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/theme_vehicle/static/src/scss/primary_variables.scss b/theme_vehicle/static/src/scss/primary_variables.scss index 54f0c9f4a..62dbde90a 100644 --- a/theme_vehicle/static/src/scss/primary_variables.scss +++ b/theme_vehicle/static/src/scss/primary_variables.scss @@ -114,15 +114,14 @@ $o-website-values-palettes: ( 'btn-secondary-outline': true, 'btn-border-width': 2px, - 'btn-padding-x': 1.15rem, 'btn-border-radius': 1px, 'btn-border-radius-sm': 0, - 'btn-border-radius-lg': 2px, + 'btn-border-radius-lg': 1px, + 'btn-padding-x': 1.25rem, 'btn-padding-y': .474rem, - 'btn-padding-y-lg': 1rem, - 'btn-padding-x-lg': 3.3rem, + 'btn-padding-x-lg': 1.8rem, + 'btn-padding-y-lg': .6rem, 'btn-font-size': 1.2rem, - 'btn-font-size-lg': 2rem, 'header-template': 'default', 'header-links-style': 'border-bottom',