Skip to content

Commit

Permalink
Extract a visual component as a mixin #3325
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaKind committed Jun 14, 2024
1 parent 8199f40 commit bcb326b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ $_optional-controls-icon-size: 24px;
$_footer-icon-separation: 16px;
$_card-padding: 16px;

@mixin standard-separator-bottom {
border-bottom: settings.$border-width solid settings.$colour-furniture;
}

.article-card {
@include standard-separator-bottom();
position: relative;
background-color: settings.$colour-white;
padding-top: 2rem;
padding-bottom: 2.5rem;
border-bottom: settings.$border-width solid settings.$colour-furniture;
}

.article-card-content {
Expand Down

0 comments on commit bcb326b

Please sign in to comment.