Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically reduce columns as the breakpoint gets smaller on Grid. #491

Open
alan-cole opened this issue Feb 18, 2025 · 0 comments
Open
Assignees
Labels
Type: Feature Issue is a new feature request

Comments

@alan-cole
Copy link
Collaborator

alan-cole commented Feb 18, 2025

User story

As a tablet user
I want to see 3 columns on desktop becomes 2 columns on tablet
So that elements in the columns aren't too thin to read the content within.

Description

Provide an option to automatically include sensible col- classes when using template_column_count, particularly for column counts greater than 3.

Example implementation:

template_column_count = 6 columns

I get:
- 6 columns at 1440px (xxl) breakpoint
- 3 columns at 1280px (xl) breakpoint
- 2 columns at 768px (m) breakpoint
- 1 column at everything below

template_column_count = 4 columns

I get:
- 4 columns at 1440px (xxl) breakpoint
- 3 columns at 1280px (xl) breakpoint
- 2 columns at 768px (m) breakpoint
- 1 column at everything below

template_column_count = 3 columns

I get:
- 3 columns at 1280px (xl) breakpoint
- 2 columns at 768px (m) breakpoint
- 1 column at everything below

template_column_count = 2 columns

I get:
- 2 columns at 768px (m) breakpoint
- 1 column at everything below

Acceptance criteria

Given I am a
When I
Then I

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Issue is a new feature request
Projects
Status: Todo
Development

No branches or pull requests

1 participant