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

Commit c062319

Browse files
authored
fix(list): Update interactive list's with ripple-upgrade to be narrower (#468)
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.
1 parent 36ce550 commit c062319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mdc-list/mdc-list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ a.mdc-list-item {
162162
// Cause the upgraded list item to cover the entirety of the list, causing ripples to emanate
163163
// across the entire list element.
164164
left: $mdc-list-side-padding * -1;
165-
width: calc(100% + #{$mdc-list-side-padding * 2});
165+
width: 100%;
166166
padding: 0 $mdc-list-side-padding;
167167
overflow: hidden;
168168

0 commit comments

Comments
 (0)