-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(typography): handle inherit being set as a typography value #8721
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
fix(typography): handle inherit being set as a typography value #8721
Conversation
9bec2e4
to
884cc5a
Compare
line-height: $line-height; | ||
font-family: $font-family; | ||
} | ||
@else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: the funky formatting here is due to Stylelint complaining about having to have a newline after the brace.
884cc5a
to
4a4980d
Compare
Fixes the `mat-typography-level-to-styles` mixin generating an invalid style declaration if any of its value are set to `inherit`. Fixes angular#8700.
4a4980d
to
af65cd4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes the `mat-typography-level-to-styles` mixin generating an invalid style declaration if any of its value are set to `inherit`. Fixes #8700.
…lar#8721) Fixes the `mat-typography-level-to-styles` mixin generating an invalid style declaration if any of its value are set to `inherit`. Fixes angular#8700.
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. |
Fixes the
mat-typography-level-to-styles
mixin generating an invalid style declaration if any of its values are set toinherit
.Fixes #8700.