Commit ac0427b
Admin pages: honor WP.com nav-unification 272px sidebar width (#48182)
The jetpack-admin-page-layout mixin hardcodes a 160px sidebar at expanded
widths. On the WP.com wp-admin (body.is-nav-unification) the sidebar is
actually 272px, so the pinned content column started 112px inside the
sidebar and extended past the viewport on the right, visibly cropping
Newsletter, Social, Search, etc. when accessed from WP.com.
Below the auto-fold breakpoint (<= 960px) the sidebar narrows to 36px
on both surfaces, and .folded always wins at 36px, so only the
expanded-default state needs adjusting.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b119d94 commit ac0427b
2 files changed
Lines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
115 | 134 | | |
116 | 135 | | |
117 | 136 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments