google / site-kit-wp Public
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
Most Popular Content Overlaps on Site Kit Dashboard #480
Comments
|
I believe I am experiencing this. |
|
IB Let's fix this globally as you're recommending too, not only for narrow viewports. |
|
@aaemnnosttv I was just notified by @westonruter that this also happens on e.g. the "Popularity" table (in case you weren't aware). So let's fix this for both cases. If you find more similar ones, of course those too (unless the fix would be different and more complex) :) |
|
Verified, lgtm |



Bug Description
On certain breakpoints the content in the 'most popular content' section of the Site Kit dashboard overlaps and breaks out of the box (see screenshot). This happens when the screen width is anywhere between 1280px - 600px wide and the content within the box is long enough to not break.
Steps to reproduce
/wp-admin/admin.php?page=googlesitekit-dashboardScreenshots
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
The issue seems to be due to the way tables size themselves based on their contents (particularly
thelements). The most reliable way seems to be setting the table totable-layout: fixedwithwidth: 100%. The current table wrapper class already has a full width to it, so this would be more about adapting the fixed layouts where needed, if not for all tables.E.g.
googlesitekit-table--fixed<col>sAlternatively only apply fixed layouts in smaller viewports, although this would be still vulnerable to wrapping in other viewports as it has to do with parent element size and the width of the content in the table headers defining the width of the rows.
Changelog entry
The text was updated successfully, but these errors were encountered: