Skip to content

Commit

Permalink
Fixed padding on Accordion, Attachment, Basic Content and Promo on mo…
Browse files Browse the repository at this point in the history
…bile.
  • Loading branch information
AlexSkrypnyk committed Jul 1, 2024
1 parent b41ff1c commit 7415b30
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions components/02-molecules/accordion/accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
$root: &;

&#{$root}--with-background {
padding-left: $ct-accordion-space-horizontal;
padding-right: $ct-accordion-space-horizontal;
@include ct-breakpoint(m) {
padding-left: $ct-accordion-space-horizontal;
padding-right: $ct-accordion-space-horizontal;
}
}

#{$root}__content {
Expand Down
6 changes: 4 additions & 2 deletions components/02-molecules/attachment/attachment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
$root: &;

&#{$root}--with-background {
padding-left: $ct-attachment-space-horizontal;
padding-right: $ct-attachment-space-horizontal;
@include ct-breakpoint(m) {
padding-left: $ct-attachment-space-horizontal;
padding-right: $ct-attachment-space-horizontal;
}
}

#{$root}__wrapper {
Expand Down
6 changes: 4 additions & 2 deletions components/02-molecules/basic-content/basic-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
$root: &;

&#{$root}--with-background {
padding-left: $ct-basic-content-space-horizontal;
padding-right: $ct-basic-content-space-horizontal;
@include ct-breakpoint(m) {
padding-left: $ct-basic-content-space-horizontal;
padding-right: $ct-basic-content-space-horizontal;
}
}

@include ct-content();
Expand Down
6 changes: 4 additions & 2 deletions components/03-organisms/promo/promo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
$root: &;

&#{$root}--with-background {
padding-left: $ct-promo-space-horizontal;
padding-right: $ct-promo-space-horizontal;
@include ct-breakpoint(m) {
padding-left: $ct-promo-space-horizontal;
padding-right: $ct-promo-space-horizontal;
}
}

border-top: solid ct-particle(0.125);
Expand Down

1 comment on commit 7415b30

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.