Skip to content

Commit

Permalink
fix(list): adjust list spacing according to component spec (#7526)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] authored Jan 19, 2021
1 parent 4871e1e commit 0a90907
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/components/src/components/list/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
}

.#{$prefix}--list--nested {
margin-left: $carbon--spacing-06;
margin-left: rem(32px);
}

.#{$prefix}--list--nested .#{$prefix}--list__item {
padding-left: $carbon--spacing-02;
}

.#{$prefix}--list--ordered:not(.#{$prefix}--list--nested) {
Expand Down

0 comments on commit 0a90907

Please sign in to comment.