-
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(material/datepicker): calendar font tokens not being picked up #29610
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crisbeto
requested review from
amysorto and
andrewseguin
and removed request for
a team
August 20, 2024 07:46
andrewseguin
approved these changes
Aug 20, 2024
crisbeto
force-pushed
the
29608/calendar-token
branch
from
August 20, 2024 18:33
17321aa
to
2c80ab9
Compare
We were setting the `calendar-text-font` and `calendar-text-size` tokens at the top level of the calendar which meant that it wasn't being picked up in the cells, because they have `button` elements which have user agent styles. These changes resolve the issue by explicitly setting the tokens. Also fixes that the font size was too big in M3. Fixes angular#29608.
crisbeto
force-pushed
the
29608/calendar-token
branch
from
August 20, 2024 18:33
2c80ab9
to
f4595b6
Compare
crisbeto
added
target: minor
This PR is targeted for the next minor release
and removed
target: patch
This PR is targeted for the next patch release
labels
Aug 20, 2024
crisbeto
added a commit
to crisbeto/material2
that referenced
this pull request
Aug 20, 2024
…ngular#29610) We were setting the `calendar-text-font` and `calendar-text-size` tokens at the top level of the calendar which meant that it wasn't being picked up in the cells, because they have `button` elements which have user agent styles. These changes resolve the issue by explicitly setting the tokens. Also fixes that the font size was too big in M3. Fixes angular#29608.
crisbeto
added a commit
that referenced
this pull request
Aug 21, 2024
…29610) (#29615) We were setting the `calendar-text-font` and `calendar-text-size` tokens at the top level of the calendar which meant that it wasn't being picked up in the cells, because they have `button` elements which have user agent styles. These changes resolve the issue by explicitly setting the tokens. Also fixes that the font size was too big in M3. Fixes #29608.
This was referenced Sep 13, 2024
This was referenced Sep 14, 2024
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
action: merge
The PR is ready for merge by the caretaker
target: minor
This PR is targeted for the next minor release
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We were setting the
calendar-text-font
andcalendar-text-size
tokens at the top level of the calendar which meant that it wasn't being picked up in the cells, because they havebutton
elements which have user agent styles.These changes resolve the issue by explicitly setting the tokens.
Also fixes that the font size was too big in M3.
Fixes #29608.