-
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
Subheader line-height is too high #6214
Comments
devversion
added a commit
to devversion/material2
that referenced
this issue
Aug 2, 2017
* The line-height of the subheaders is currently based on the typography level. This is problematic because the subheader is set to a specific height and can't grow/shrink accordingly. Fixes angular#6214
tinayuangao
pushed a commit
that referenced
this issue
Aug 2, 2017
* The line-height of the subheaders is currently based on the typography level. This is problematic because the subheader is set to a specific height and can't grow/shrink accordingly. Fixes #6214
tinayuangao
pushed a commit
that referenced
this issue
Aug 2, 2017
* The line-height of the subheaders is currently based on the typography level. This is problematic because the subheader is set to a specific height and can't grow/shrink accordingly. Fixes #6214
tinayuangao
pushed a commit
that referenced
this issue
Aug 2, 2017
* fix(list): properly align contents in subheader * The line-height of the subheaders is currently based on the typography level. This is problematic because the subheader is set to a specific height and can't grow/shrink accordingly. Fixes #6214 * Address feedback
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:
Proposal
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
The current line-height is 24px + 16*2px padding = 56px while the height of the element is only 48px. Resulting in the text being pushed down a bit. The line height should be 16px.
I also noticed that the subheader size is changed in dense mode while the spec does not say anything about this. I suggest keeping the size the same for dense lists as this only gives us 8px of height to fit a 12px font into.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: