From 50f7faeeb935a91a24bf8d035a685bb8b1c4b066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=81=D0=B5=D0=BD=D0=B8=D1=8F?= <31247233+kseniya57@users.noreply.github.com> Date: Thu, 3 Oct 2024 15:33:48 +0300 Subject: [PATCH] fix(MobileFooter): fix menu items box-sizing (#313) Co-authored-by: kseniyakuzina --- src/components/Footer/mobile/Footer.scss | 1 + .../Footer/mobile/__stories__/MobileFooterShowcase.scss | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/Footer/mobile/Footer.scss b/src/components/Footer/mobile/Footer.scss index 8a31643..7b2772e 100644 --- a/src/components/Footer/mobile/Footer.scss +++ b/src/components/Footer/mobile/Footer.scss @@ -36,6 +36,7 @@ $block: '.#{variables.$ns}footer'; &__menu-item { padding: var(--g-spacing-2) var(--g-spacing-3); + box-sizing: border-box; } &__bottom-row { diff --git a/src/components/Footer/mobile/__stories__/MobileFooterShowcase.scss b/src/components/Footer/mobile/__stories__/MobileFooterShowcase.scss index a028033..f0bb965 100644 --- a/src/components/Footer/mobile/__stories__/MobileFooterShowcase.scss +++ b/src/components/Footer/mobile/__stories__/MobileFooterShowcase.scss @@ -5,12 +5,6 @@ box-sizing: border-box; height: 100vh; - *, - *::before, - *::after { - box-sizing: border-box; - } - &__body { flex: 1; }