-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md-list-icon is not aligned with global box-sizing: inherit
#3863
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Apr 2, 2017
Sets an explicit `box-sizing` on the icons inside of lists, in order to avoid alignment issues if the consumer uses `border-box` globally. Fixes angular#3863.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Apr 12, 2017
Sets an explicit `box-sizing` on the icons inside of lists, in order to avoid alignment issues if the consumer uses `border-box` globally. Fixes angular#3863.
jelbourn
pushed a commit
that referenced
this issue
Apr 17, 2017
Sets an explicit `box-sizing` on the icons inside of lists, in order to avoid alignment issues if the consumer uses `border-box` globally. Fixes #3863.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Bug
It's pretty common to globally apply inherited box sizing to all elements:
This causes the
md-list-icon
to no longer keep the correct size, because it is inheritingborder-box
from.mat-list-item-content
. It should explicitly usecontent-box
.What are the steps to reproduce?
http://plnkr.co/edit/nDwtfSsqTrotyZpNfr5I?p=preview
The text was updated successfully, but these errors were encountered: