[wp-trac] [WordPress Trac] #63305: On mobile devices, the left and right spacing is not equal for administration pages

WordPress Trac noreply at wordpress.org
Sun Sep 14 17:26:37 UTC 2025


#63305: On mobile devices, the left and right spacing is not equal for
administration pages
-------------------------------------------------+-------------------------
 Reporter:  deeppatel8950                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Administration                       |     Version:  3.8
 Severity:  trivial                              |  Resolution:  maybelater
 Keywords:  has-test-info has-patch has-         |     Focuses:  ui, css
  screenshots dev-feedback                       |
-------------------------------------------------+-------------------------

Comment (by dilip2615):

 == Test Report
 === Description
 Validate that the patch reduces the right margin on the admin wrapper from
 12px to 10px.

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/63305/63305.diff

 === Environment
 - WordPress: 6.8.2
 - PHP: 8.2.23
 - Server: nginx/1.26.1
 - Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.23)
 - Browser: Chrome 140.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-One 2.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Steps
 1) Fresh trunk:
    - `git fetch origin && git reset --hard origin/trunk`
    - `npm ci && composer install`
 2) Applied patch:
    - Downloaded: `63305.diff`
    - Applied: `git apply --index 63305.diff`
 3) Restarted env: `npx wp-env start --update`
 4) Verified in WP Admin (e.g., Dashboard → Home):
    - Inspected `<div class="wrap">…</div>` with DevTools.
    - Checked **Computed/Styles** for `.wrap`.

 === Actual Results
 - Before (trunk): `.wrap { margin-right: 12px; }`
 - After (patched): `.wrap { margin-right: 10px; }`
 - Visual spacing looks correct; no regressions observed on common admin
 screens.
 - (Optional) PHPUnit sanity: `npm run test:php -- --testsuite default` →
 <OK/summary>

 === Screenshots
 - Attached before/after DevTools captures showing `.wrap` margin-right =
 12px → 10px.
 - https://prnt.sc/Hn29-YxIc1Ud
 - https://prnt.sc/r_V-vGdAU1ON
 - https://prnt.sc/Z0dj7Qx4Dc-d

 === Conclusion
 ✅ Patch works as expected on my setup.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63305#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list