Skip to content

Commit

Permalink
fix: reverse mobile paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
yuberdysheva committed Nov 10, 2023
1 parent b2c3be2 commit 7d1bd6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/blocks/Tabs/Tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down
7 changes: 6 additions & 1 deletion src/blocks/Tabs/TabsTextContent/TabsTextContent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}

0 comments on commit 7d1bd6b

Please sign in to comment.