Skip to content

Commit 4ff3d77

Browse files
author
Dobromir Hristov
committed
refactor: cleanup styling
1 parent 6dd46d1 commit 4ff3d77

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/components/Card.vue

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,7 @@ $content-margin: 4px;
216216
padding: $details-padding;
217217
position: relative;
218218
height: var(--card-details-height);
219-
220-
.small &, & {
221-
@include font-styles(card-content-small);
222-
}
219+
@include font-styles(card-content-small);
223220
224221
.large & {
225222
@include font-styles(card-content-large);
@@ -235,10 +232,7 @@ $content-margin: 4px;
235232
color: var(--color-card-eyebrow);
236233
display: block;
237234
margin-bottom: $content-margin;
238-
239-
.small &, & {
240-
@include font-styles(card-eyebrow-small);
241-
}
235+
@include font-styles(card-eyebrow-small);
242236
243237
.large & {
244238
@include font-styles(card-eyebrow-large);
@@ -248,10 +242,7 @@ $content-margin: 4px;
248242
.title {
249243
font-weight: $font-weight-semibold;
250244
color: var(--color-card-content-text);
251-
252-
.small &, & {
253-
@include font-styles(card-title-small);
254-
}
245+
@include font-styles(card-title-small);
255246
256247
.large & {
257248
@include font-styles(card-title-large);

0 commit comments

Comments
 (0)