Skip to content

[6.x] Trigger the grid table mode a bit earlier because it's more useful#14792

Merged
jaygeorge merged 1 commit into
6.xfrom
tweak-grid-field-breakpoints
Jun 8, 2026
Merged

[6.x] Trigger the grid table mode a bit earlier because it's more useful#14792
jaygeorge merged 1 commit into
6.xfrom
tweak-grid-field-breakpoints

Conversation

@jaygeorge

Copy link
Copy Markdown
Contributor

Description of the Problem

As mentioned in #14734 v5 triggered the grid table mode at a lower viewport width. Users seem to find this more of a useful view so I've triggered it at a lower breakpoint.

What this PR Does

  • Trigger the grid table mode at a lower container query
  • Use a container query to alter padding so that the grid table view is more readable

How to Reproduce

  1. Add a Grid fieldtype
  2. Pull in the window. In v5, it would trigger around a viewport width of 1270px. In v6 it the grid doesn't use a viewport media query—it measures the field's container width via element-container and switches to stacked mode when that width drops below a threshold. I've changed the threshold so it should be more often in grid table mode

@jaygeorge jaygeorge enabled auto-merge (squash) June 8, 2026 09:22
@jaygeorge jaygeorge merged commit 126dc0f into 6.x Jun 8, 2026
19 checks passed
@jaygeorge jaygeorge deleted the tweak-grid-field-breakpoints branch June 8, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant