Skip to content

Commit

Permalink
fix(list): Properly position interactive list items in RTL context (#746
Browse files Browse the repository at this point in the history
)

Fixes #725
  • Loading branch information
robzenn92 authored and traviskaufman committed May 30, 2017
1 parent e21ec90 commit ae4e87f
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 @@ -157,11 +157,11 @@ a.mdc-list-item {
@include mdc-ripple-base;
@include mdc-ripple-bg((pseudo: "::before"));
@include mdc-ripple-fg((pseudo: "::after"));
@include mdc-rtl-reflexive-position(left, $mdc-list-side-padding * -1);

position: relative;
// 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: 100%;
padding: 0 $mdc-list-side-padding;
overflow: hidden;
Expand Down

0 comments on commit ae4e87f

Please sign in to comment.