Skip to content

Commit

Permalink
fix(list): Update interactive list's with ripple-upgrade to be narrow…
Browse files Browse the repository at this point in the history
…er (material-components#468)

Resolves material-components#463, Update interactive list's with ripple-upgrade to be narrower. Padding of list items is 16 + 16 = 32px, so width of list items should be container's width - 32px.
  • Loading branch information
lynnmercier authored and pgbross committed Apr 5, 2017
1 parent 466d56c commit a58bcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-list/mdc-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ a.mdc-list-item {
// Cause the upgraded list item to cover the entirety of the list, causing ripples to emanate
// across the entire list element.
left: $mdc-list-side-padding * -1;
width: calc(100% + #{$mdc-list-side-padding * 2});
width: 100%;
padding: 0 $mdc-list-side-padding;
overflow: hidden;

Expand Down

0 comments on commit a58bcc4

Please sign in to comment.