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

List end detail has a wrong padding #904

Closed
touficbatache opened this issue Jul 5, 2017 · 2 comments · Fixed by #909
Closed

List end detail has a wrong padding #904

touficbatache opened this issue Jul 5, 2017 · 2 comments · Fixed by #909

Comments

@touficbatache
Copy link
Contributor

touficbatache commented Jul 5, 2017

Bugs

What MDC-Web Version are you using?

0.14.0

What browser(s) is this bug affecting?

All browsers

What OS are you using?

All OS

What are the steps to reproduce the bug?

  1. Go to http://material-components-web.appspot.com/list.html
  2. Scroll down to the End Detail section
  3. Observe the end detail item's location

What is the expected behavior?

The end detail item should be 16px away from the end of the list

What is the actual behavior?

The end detail item should be 32px away from the end of the list

Any other information you believe would be useful?

This could easily be fixed by removing the margin-right: 16px from the mdc-list-item__end-detail class as the mdc-list class already has a padding of 16px on the right. Would you like a PR?

@amsheehan
Copy link
Contributor

Yes please! Good catch.

@touficbatache
Copy link
Contributor Author

Done 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants