-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiDataGrid] Fix large density not increasing font size on Amsterdam theme #5320
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_5320/ |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5320/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5320/ |
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.
Tested in Chrome, Safari, Edge, and Firefox. LGTM! 🎉
Oh shoot, @miukimiu's right. Sorry @constancecchen I gave you bad intel. I do think jumping from 16px to 18 is a bit drastic though, so I'd recommend applying the change in teh Amsterdam overrides like she suggested. Sorry |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5320/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5320/ |
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.
Thanks, @constancecchen! Tested again and LGTM! 🎉
Wahoo! Thanks y'all for learning me some theming differences! |
… theme (elastic#5320) * Fix large density not increasing in fontSize on Amsterdam theme * Add changelog entry * Switch to Amsterdam override
Summary
euiFontSize
is 14px on Amsterdam but 16px on legacy - we should specifyeuiFontSizeM
if we want a 16px font size on expanded density data grids.Before
before.mp4
After
after.mp4
Checklist
- [ ] Checked in mobile- [ ] Checked in Chrome, Safari, Edge, and Firefox- [ ] Props have proper autodocs and playground toggles- [ ] Added documentation- [ ] Checked Code Sandbox works for any docs examples- [ ] Added or updated jest and cypress tests- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes