-
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
fix(select): set default font size #2976
Conversation
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
src/lib/core/option/_option.scss
Outdated
@@ -1,6 +1,9 @@ | |||
@import '../style/menu-common'; | |||
@import '../a11y/a11y'; | |||
|
|||
/** Default size of option text. */ | |||
$md-option-font-size: 16px !default; |
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.
We should change this to $mat-option-font-size
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.
Good catch! I'll fix now
@tinayuangao Updated with the new prefix and rebased. Should be good to go now. |
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. |
Currently the font size in the trigger is purely inherited, which causes weirdness when inheriting a font size that's different from the default option size.