Repository navigation
Description
What
The columns setting on the My Sites, Limits & Quotas and Current Membership elements builds a utility class from the chosen number (wu-grid-cols-N, sm:wu-grid-cols-N, lg:wu-grid-cols-N, xl:wu-grid-cols-N). assets/css/framework.css only defines some of them. Where the class is missing, the grid has a single column.
With the default columns=4, My Sites shows four columns only from 1280px up and a single column at 1024px and 768px. columns=5 is always a single column. The block-editor preview shows the same single column, because its canvas is narrower than 1280px.
Evidence
Measured on a published account page ([wu_my_sites], default columns=4), by reading the computed grid-template-columns of the grid container:
| Viewport | Grid columns |
|---|---|
| 1440px | 4 |
| 1280px | 4 |
| 1024px | 1 |
| 768px | 1 |
The classes on the element are wu-grid-cols-4 sm:wu-grid-cols-4 xl:wu-grid-cols-4. Only the xl: rule exists for 4.
Utilities that exist today in assets/css/framework.css:
| Variant | Defined for N | Lines |
|---|---|---|
| base | 1, 2, 3 | 667-673 |
sm: |
2, 3, 12 | 1696-1702 |
md: |
2, 3, 4, 5, 6 | 1866-1878 |
lg: |
3, 4 | 1947-1950 |
xl: |
3, 4 | 1959-1962 |
Templates that build the class from a setting:
views/dashboard-widgets/my-sites.php:31: base,sm:andxl:;columnsis 1 to 5 (inc/ui/class-my-sites-element.php:177).views/dashboard-widgets/limits-and-quotas.php:30:lg:;columnsis 1 to 10 (inc/ui/class-limits-element.php:137).views/dashboard-widgets/current-membership.php:116:sm:;columnsis 1 to 5 (inc/ui/class-current-membership-element.php:192).views/checkout/templates/template-selection/clean.php:88andlegacy.php:175:md:, which is fully covered today.
None of this changed in the account work (#2133). It is on main.
Files to modify
assets/css/framework.cssand the regeneratedassets/css/framework.min.css(runpnpm run cleancss; the PR build checks the minified file is current).- Possibly the three dashboard-widget templates above, if the responsive pattern is changed rather than the utilities added.
Files Scope
assets/css/framework.cssassets/css/framework.min.cssviews/dashboard-widgets/my-sites.phpviews/dashboard-widgets/limits-and-quotas.phpviews/dashboard-widgets/current-membership.php
Reference pattern
The existing rules, for example framework.css:667 and framework.css:1866:
.wu-styling :is(.wu-grid-cols-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); }inside the matching @media (min-width: ...) block for the variants.
Decision to make
Either define every N each template can emit (smallest change, no markup change, keeps "N columns at every width" for the base class), or make the templates responsive so the setting is the maximum, for example wu-grid-cols-1 sm:wu-grid-cols-2 lg:wu-grid-cols-3 xl:wu-grid-cols-N. The second avoids four cramped columns on a phone but changes the layout of sites that already use 2 or 3 columns, so keep existing sites unchanged at N <= 3 unless there is a clear reason.
Verification
- With a customer who owns at least four sites, measure the grid's computed column count at 375, 768, 1024, 1280 and 1440px for
columns1 to 5 on a published page, and in the block-editor preview. - Confirm the limits and current-membership elements at their own maximum
columns. git diffof the stylesheet is additions only.pnpm run cleancssleaves no diff.
Tier
tier:standard. The affected files and reference pattern are known, but the responsive behaviour is a design choice.
aidevops.sh v3.39.189 plugin for OpenCode
Activity
superdav42 commentedon Nov 21, 2026
DISPATCH_CLAIM nonce=bc14e20fb34bbb9827c713e8af0dc5d8 runner=superdav42 ts=2026-11-21T17:53:11Z max_age_s=1800 version=3.39.189 opencode_version=1.18.31 lease_token=bc14e20fb34bbb9827c713e8af0dc5d8 device=device-1783824528-2609248-26808 session=issue-2134 phase=prelaunch expires_at=1795283713
superdav42 commentedon Nov 21, 2026
DISPATCH_LEASE phase=prelaunch lease_token=bc14e20fb34bbb9827c713e8af0dc5d8 device=device-1783824528-2609248-26808 session=issue-2134 expires_at=1795284059 ts=2026-11-21T17:53:29Z attempt_id=attempt:44348238-77e2-48e5-9a79-7e57166579d1
superdav42 commentedon Nov 21, 2026
Dispatching worker (deterministic).
superdav42 commentedon Nov 21, 2026
DISPATCH_LEASE phase=ready lease_token=bc14e20fb34bbb9827c713e8af0dc5d8 device=device-1783824528-2609248-26808 session=issue-2134 expires_at=1795290854 ts=2026-11-21T17:54:14Z attempt_id=attempt:44348238-77e2-48e5-9a79-7e57166579d1
aidevops.sh v3.39.189 automated scan.
superdav42 commentedon Nov 21, 2026
CLAIM_RELEASED reason=worker_ownership_lost runner=superdav42 ts=2026-11-21T17:56:49Z aidevops_version=3.39.189 opencode_version=1.18.31 claim_id=7066828089 nonce=bc14e20fb34bbb9827c713e8af0dc5d8 lease_token=bc14e20fb34bbb9827c713e8af0dc5d8 device=device-1783824528-2609248-26808 session=issue-2134
aidevops.sh v3.39.189 plugin for OpenCode v1.18.31
superdav42 commentedon Nov 22, 2026
Completion Summary
aidevops.sh v3.39.189 plugin for OpenCode v1.19.5 with claude-sonnet-5-5 spent 1m and 2,849 tokens on this as a headless worker.
Merged via PR #2135 to main.
Merged by deterministic merge pass (pulse-wrapper.sh).
Routing feedback
standard; 1 attempt, 15 LLM requests, 0 capability escalations, 0 same-tier fallbacks.