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

classes with font property not setting font-family to style #6284

Closed
sougiovn opened this issue Aug 5, 2017 · 2 comments
Closed

classes with font property not setting font-family to style #6284

sougiovn opened this issue Aug 5, 2017 · 2 comments

Comments

@sougiovn
Copy link

sougiovn commented Aug 5, 2017

Bug, feature request, or proposal:

Started a new project with angular 4.0.0 and angular/material 2.0.0-beta.8
imported the prebuilt-theme into my styles.css
linked the Roboto font from Google Fonts

The result is that the input is not setting the font style, searching thru the elements with dev tools and searching in the css source code, I think that the "problem" is with the font property's value.
The dev tools alerts that this property's value is invalid.

What is the expected behavior?

I expected all componentes to be styled with Roboto font.

What is the current behavior?

MdInput component doesn't use the roboto font

What are the steps to reproduce?

Create a new project with @angular/cli and follow the get started section from @angular/material
https://material.angular.io/guide/getting-started

The following screenshot shows the rendered components and the dev tools feedback.
The toolbar uses font-family instead of font
The current value of the font property is 400 inherit/1.125 Roboto,"Helvetica Neue",sans-serif;

img1

@crisbeto
Copy link
Member

crisbeto commented Aug 5, 2017

This has been fixed in #5154.

@crisbeto crisbeto closed this as completed Aug 5, 2017
@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants