Skip to content

Commit 354d63e

Browse files
committed
fix(ffe-cards): fjerner extends fra tekststiler
1 parent 2c31add commit 354d63e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

packages/ffe-cards/less/components.less

+14-4
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,25 @@
1010
}
1111

1212
&__subtext {
13-
&:extend(.ffe-small-text);
14-
13+
font-family: var(--ffe-g-font);
14+
font-weight: normal;
15+
font-variant-numeric: tabular-nums;
16+
line-height: 1.25rem;
17+
font-size: var(--ffe-fontsize-small-text);
1518
color: var(--ffe-v-cards-subtext-color);
1619
margin: var(--ffe-spacing-2xs) 0 0 0;
1720
}
1821

1922
&__title {
20-
&:extend(.ffe-h5);
21-
23+
font-family: var(--ffe-g-font-heading-small);
24+
font-variant-numeric: tabular-nums;
25+
color: var(--ffe-g-heading-color);
26+
font-weight: normal;
27+
margin-top: 0;
28+
text-wrap: balance;
29+
overflow-wrap: anywhere;
30+
line-height: 1.25rem;
31+
font-size: var(--ffe-fontsize-h5);
2232
margin: 0;
2333

2434
&--overflow-ellipsis {

0 commit comments

Comments
 (0)