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

Commit

Permalink
fix(list): add padding to top and bottom
Browse files Browse the repository at this point in the history
references #216
  • Loading branch information
rschmukler committed Sep 14, 2014
1 parent c377a36 commit b5f0c88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/list/_list.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
material-list {
padding: $list-padding-top $list-padding-right $list-padding-bottom $list-padding-left;

&.with-subheader {
padding-top: 0px;
}
}

material-item {
Expand Down
5 changes: 5 additions & 0 deletions src/theme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ $list-h3-margin: 0 0 3px 0;
$list-p-font-size: 0.75em;
$list-p-margin: 0 0 3px 0;

$list-padding-top: $baseline-grid;
$list-padding-right: 0px;
$list-padding-left: 0px;
$list-padding-bottom: $baseline-grid;

$item-padding-top: 0px;
$item-padding-right: 0px;
$item-padding-left: 0px;
Expand Down

0 comments on commit b5f0c88

Please sign in to comment.