Skip to content

Commit

Permalink
fix(list): Move divider color style so it takes precedence (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfranqueiro committed Jan 3, 2018
1 parent 6ada786 commit e3cb47c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/mdc-list/mdc-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
}
}

@at-root {
@include mdc-list-divider-color($mdc-list-divider-color-light);
}

// postcss-bem-linter: define list

.mdc-list {
Expand Down Expand Up @@ -197,6 +193,10 @@ a.mdc-list-item {
border-bottom-style: solid;
}

@at-root {
@include mdc-list-divider-color($mdc-list-divider-color-light);
}

.mdc-list-divider--padded {
// Leave gaps on each side to match the padding on list items
margin: 0 $mdc-list-side-padding;
Expand Down

0 comments on commit e3cb47c

Please sign in to comment.