From 7d1bd6b53be45f0e48559d0bee97e2b276886145 Mon Sep 17 00:00:00 2001 From: Juli Ovechkina Date: Fri, 10 Nov 2023 17:21:54 +0000 Subject: [PATCH] fix: reverse mobile paddings --- src/blocks/Tabs/Tabs.scss | 5 ----- src/blocks/Tabs/TabsTextContent/TabsTextContent.scss | 7 ++++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/blocks/Tabs/Tabs.scss b/src/blocks/Tabs/Tabs.scss index 40b2c45ed..3c9ceb931 100644 --- a/src/blocks/Tabs/Tabs.scss +++ b/src/blocks/Tabs/Tabs.scss @@ -50,11 +50,6 @@ $block: '.#{$ns}tabs-block'; @media (max-width: map-get($gridBreakpoints, 'md')) { &__row_reverse { flex-direction: column-reverse; - - #{$class}__content > * { - margin-top: $indentM; - padding-bottom: 0; - } } } diff --git a/src/blocks/Tabs/TabsTextContent/TabsTextContent.scss b/src/blocks/Tabs/TabsTextContent/TabsTextContent.scss index 77125d95d..32729d496 100644 --- a/src/blocks/Tabs/TabsTextContent/TabsTextContent.scss +++ b/src/blocks/Tabs/TabsTextContent/TabsTextContent.scss @@ -23,9 +23,14 @@ $block: '.#{$ns}tabs-block-text-content'; @media (max-width: map-get($gridBreakpoints, 'md')) { &__wrapper { - &_margin { + &_regular { margin: 0 0 $contentMargin 0; } + + &_reverse { + margin-top: $indentM; + padding-bottom: 0; + } } } }