Skip to content

fix: My Sites, Limits and Current Membership columns above 3 collapse to one column (missing grid utilities) #2134

Closed

Description

@superdav42

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: and xl:; columns is 1 to 5 (inc/ui/class-my-sites-element.php:177).
  • views/dashboard-widgets/limits-and-quotas.php:30: lg:; columns is 1 to 10 (inc/ui/class-limits-element.php:137).
  • views/dashboard-widgets/current-membership.php:116: sm:; columns is 1 to 5 (inc/ui/class-current-membership-element.php:192).
  • views/checkout/templates/template-selection/clean.php:88 and legacy.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.css and the regenerated assets/css/framework.min.css (run pnpm 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.css
  • assets/css/framework.min.css
  • views/dashboard-widgets/my-sites.php
  • views/dashboard-widgets/limits-and-quotas.php
  • views/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 columns 1 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 diff of the stylesheet is additions only. pnpm run cleancss leaves 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

  1. locked as resolved and limited conversation to collaborators on Nov 21, 2026
  2. added
    bug
    status:available
    origin:interactive
    tier:standard
    on Nov 21, 2026
  3. superdav42 commented on Nov 21, 2026

    @superdav42
    CollaboratorAuthor

    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

  4. superdav42 commented on Nov 21, 2026

    @superdav42
    CollaboratorAuthor

    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

  5. added
    status:queued
    status:in-progress
    and removed
    status:available
    status:queued
    on Nov 21, 2026
  6. superdav42 commented on Nov 21, 2026

    @superdav42
    CollaboratorAuthor

    Dispatching worker (deterministic).

  7. superdav42 commented on Nov 21, 2026

    @superdav42
    CollaboratorAuthor

    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.

  8. added
    status:in-review
    and removed
    status:in-progress
    on Nov 21, 2026
  9. superdav42 commented on Nov 21, 2026

    @superdav42
    CollaboratorAuthor

    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

  10. superdav42 commented on Nov 22, 2026

    @superdav42
    CollaboratorAuthor

    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

    • Route: standard; 1 attempt, 15 LLM requests, 0 capability escalations, 0 same-tier fallbacks.
    • Population: headless; 0 objective outcomes.
    • Usage: 987,371 tokens; $0.3070 estimated cost.
    • Recommendation: No routing change is recommended from this sample.
  11. added
    solved:worker
    and removed
    status:in-review
    on Nov 22, 2026
  12. unlocked this conversation on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugorigin:interactivesolved:workerstatus:donetier:standard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions