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

Font size doesnt override from custom typography #9462

Closed
tofesath opened this issue Jan 18, 2018 · 2 comments · Fixed by #9463
Closed

Font size doesnt override from custom typography #9462

tofesath opened this issue Jan 18, 2018 · 2 comments · Fixed by #9463
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@tofesath
Copy link

Bug, feature request, or proposal:

override font size on the input element doesn´t work

What is the expected behavior?

I defined custom typography on the input element, where I want override this attributes:
font-size: 40px
line-height: 52px
font-weight: 400

What is the current behavior?

font size is not reflected on the input element

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-g1z2md

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

I want override font size on the input element and in browser IE 11 writing text can't be floating

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

Tested on Angular 5.0, Angular/Material 5.0.0-rc.2, all browsers and in IE with other line-height how is default 1.125 writing text is floating

@josephperrott josephperrott added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Jan 18, 2018
@crisbeto
Copy link
Member

crisbeto commented Jan 18, 2018

I've submitted a fix @tofesath. Until it gets in you should be able to work around it by setting the font size on one of the form field's ancestors.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants