Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit a9f2da3

Browse files
author
Robert Messerle
committed
chore(list): cleans up duplicate css properties
1 parent 5722449 commit a9f2da3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/components/list/list.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ md-list {
3030
padding: $list-padding-top $list-padding-right $list-padding-bottom $list-padding-left;
3131

3232
.md-subheader {
33-
@include md-body-2();
33+
font-size: $body-font-size-base;
34+
font-weight: 500;
35+
letter-spacing: 0.010em;
3436
line-height: $list-header-line-height;
3537
}
3638
}
@@ -177,12 +179,15 @@ md-list-item.md-3-line > .md-no-style {
177179
}
178180

179181
h3 {
180-
@include md-subhead();
182+
font-size: $subhead-font-size-base;
183+
font-weight: 400;
184+
letter-spacing: 0.010em;
181185
margin: $list-h3-margin;
182186
line-height: $list-header-line-height;
183187
}
184188
h4 {
185-
@include md-body-2();
189+
font-size: $body-font-size-base;
190+
letter-spacing: 0.010em;
186191
font-weight: $list-h4-font-weight;
187192
margin: $list-h4-margin;
188193
line-height: $list-header-line-height;

0 commit comments

Comments
 (0)