Repository navigation
Conversation
#wpsc-dashboard used margin-left: -20px to cancel #wpcontent's start padding. In RTL, core moves that padding to the right, so the negative left margin pushed the dashboard 20px past the viewport edge. Use margin-inline-start so the offset follows the writing direction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
@xavier-lc Thanks for the review. Do I go ahead and merge the change? It's my first time contributing here since it was split out of the monorepo. |
bobmatyas
deleted the
boost-764-wp-super-cache-settings-page-causes-horizontal-scroll-bleed
branch
September 30, 2026 11:06
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes BOOST-764
Reported on the forums: https://wordpress.org/support/topic/minor-ui-issue-in-rtl/
Proposed changes
#wpsc-dashboardusedmargin-left: -20pxto cancel the 20px start padding on#wpcontent. In RTL, core'scommon-rtl.cssmoves that padding to the right, but the negative margin stayed on the left, pushing the dashboard 20px past the viewport edge and causing horizontal scroll across the admin page and menu.margin-inline-start: -20pxso the offset follows the writing direction. LTR rendering is unchanged.Screenshots
Before
After
Testing instructions
Verified with core's LTR/RTL admin CSS in Chrome at 1512px wide: RTL overflow went from 20px to 0, LTR layout is identical before and after.
🤖 Generated with Claude Code