Skip to content
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

mat-list-item with mat-line : does not respect typography. #14309

Open
ruchajakhotiya opened this issue Nov 28, 2018 · 3 comments
Open

mat-list-item with mat-line : does not respect typography. #14309

ruchajakhotiya opened this issue Nov 28, 2018 · 3 comments
Labels
area: material/list G This is is related to a Google internal issue P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@ruchajakhotiya
Copy link

ruchajakhotiya commented Nov 28, 2018

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Typography classes applied to mat-item-list with mat-line should change the font size

What is the current behavior?

font-size is always set to inherited when mat-line is used

What are the steps to reproduce?

https://angular-ug81qc.stackblitz.io
https://stackblitz.com/edit/angular-c8pvru

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

@josephperrott josephperrott added the P4 A relatively minor issue that is not relevant to core functions label Nov 28, 2018
@devversion devversion removed their assignment Dec 15, 2018
@mitchellwills
Copy link
Contributor

mitchellwills commented Mar 1, 2019

Additionally, the text is centered, but non mat-line elements are left justified
https://stackblitz.com/edit/angular-fvnkgw

@jelbourn jelbourn added G This is is related to a Google internal issue P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed P4 A relatively minor issue that is not relevant to core functions labels Mar 1, 2019
@mitchellwills
Copy link
Contributor

Actually i'm pretty sure my comment is unrelated to the original issue. Sorry for the noise

@wratho
Copy link

wratho commented Dec 20, 2019

is this being ignored? This causes text to be cut off vertically if the inherited font-size is significantly bigger than the typography font size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/list G This is is related to a Google internal issue P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

8 participants