Skip to content

Commit

Permalink
fix helper classes for article
Browse files Browse the repository at this point in the history
  • Loading branch information
denniserdmann committed Jan 19, 2023
1 parent 214ff4b commit 94b2506
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions skeleton/files/theme/scss/trumps/_helper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,25 @@
margin-bottom: calc(#{$i} * var(--base-spacing-unit));
}

.p-t-#{$i},
.mod_article.p-t-#{$i} {
.p-t-#{$i} {
padding-top: calc(#{$i} * var(--base-spacing-unit));
}

.p-b-#{$i},
.mod_article.p-b-#{$i} {
.p-b-#{$i} {
padding-bottom: calc(#{$i} * var(--base-spacing-unit));
}

.mod_article.p-t-#{$i} {
--article-spacing-top: calc(#{$i} * var(--base-spacing-unit));

padding-top: 0;
}

.mod_article.p-b-#{$i} {
--article-spacing-bottom: calc(#{$i} * var(--base-spacing-unit));

padding-bottom: 0;
}
}


Expand Down

0 comments on commit 94b2506

Please sign in to comment.