From 6aba812171cdc5f5884c9792babe6db8f2d7eeef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Biron?= Date: Wed, 7 Aug 2024 15:19:51 +0200 Subject: [PATCH] fix component padding --- packages/scss/src/components/pageHeader/component.scss | 2 +- packages/scss/src/components/pageHeader/vars.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/scss/src/components/pageHeader/component.scss b/packages/scss/src/components/pageHeader/component.scss index 2ecc553ef2..c4f2711c93 100644 --- a/packages/scss/src/components/pageHeader/component.scss +++ b/packages/scss/src/components/pageHeader/component.scss @@ -1,7 +1,7 @@ @use '@lucca-front/scss/src/commons/utils/media'; @mixin component($atRoot: 'without: rule') { - padding: var(--pr-t-spacings-400) 2.5rem var(--pr-t-spacings-300); + padding: var(--components-pageHeader-padding); .menu { margin-top: var(--pr-t-spacings-100); diff --git a/packages/scss/src/components/pageHeader/vars.scss b/packages/scss/src/components/pageHeader/vars.scss index 7e32aa79ac..74fbedc678 100644 --- a/packages/scss/src/components/pageHeader/vars.scss +++ b/packages/scss/src/components/pageHeader/vars.scss @@ -1,3 +1,4 @@ @mixin vars { --components-pageHeader-description-max-width: 33.5rem; + --components-pageHeader-padding: var(--pr-t-spacings-300) var(--pr-t-spacings-400); }