Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(list): Update interactive list's with ripple-upgrade to be narrower
Browse files Browse the repository at this point in the history
Resolves #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 committed Apr 3, 2017
1 parent 6935167 commit 0d4b04e
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 0d4b04e

Please sign in to comment.