Repository navigation
Premium Analytics: Fix leaderboard column headers not lining up with row text - #54193
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Premium Analytics plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
e0ac834 to
61daaba
Compare
61daaba to
55ad5ca
Compare
Fixes CHARTS-307
Proposed changes
Fix the column header above leaderboard widgets (Pages, Views) not lining up with the row text. In most widgets (Top posts & pages, Clicks, Referrers, Tags & categories) the row text started 4px past the header in every language.
Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
Setup: run Storybook from this branch (
pnpm run storybookinprojects/packages/premium-analytics).Widget rows
dir="rtl"to<html>in the story frame. Confirm they still line up.On a site (optional)
Screenshots
Top posts in left-to-right. Before: Hello World Post starts 4px past PAGES. After: aligned. The rows, bar and row height do not change.