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

fix: upgrade daypicker #7521

Merged
merged 4 commits into from
Dec 14, 2022
Merged

fix: upgrade daypicker #7521

merged 4 commits into from
Dec 14, 2022

Conversation

mattkrick
Copy link
Member

Signed-off-by: Matt Krick [email protected]

Description

Daypicker icons weren't showing up for the last month since we removed the material icons font.
There was no way to inject an SVG inside the component without upgrading daypicker to v8.
After upgrading, the overall style changed, but tbh I like it more than before, so I just kept it & changed the colors to match our palette.

I moved the style sheet to the Action component so we only have to worry about it once.

Demo

Works on tasks & in meetings

Screenshot from 2022-12-02 16-41-13
Screenshot from 2022-12-02 16-40-42

Signed-off-by: Matt Krick <[email protected]>
Copy link
Contributor

@enriquesanchez enriquesanchez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks so much better than what we currently have 👍

I want to suggest two minor tweaks, but these are not critical and I don't think they should stop this fix from going out:

  1. The selected date number is not correctly centered inside the highlight circle
  2. This also happens in the current picker, but the title above the month and year (Change Due Date) should have a little more top-margin so there's more breathing room and is vertically centered.

@mattkrick
Copy link
Member Author

OMG you're so fast! the un-centered circle bothers me, it might just be on my machien though. linux has a bug where things get off-centered by 1 pixel

the padding i can fix! gave it an extra 8px on the top

@mattkrick mattkrick merged commit 1829361 into master Dec 14, 2022
@mattkrick mattkrick deleted the fix/daypicker branch December 14, 2022 21:14
@mattkrick mattkrick mentioned this pull request Dec 15, 2022
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants