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

feat: Use flexbox and regular space in Column as we do in Row #1388

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

VincentSmedinga
Copy link
Contributor

My past self surprised me when I saw we were using CSS Grid and Grid Space in our Columns. Can’t find a rationale for it in the history of our commits and pull requests.

It may have been to separate Grids from each other, but it has padding props for that now. Or it had to do with the Calendar component on the new website’s homepage, but by now we agree that it shouldn’t use Grid Space.

It appears very logical to use flexbox in one-dimensional layout, as it does to use regular spacing lengths. This makes it match Row entirely.

Copy link
Contributor

@dlnr dlnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was probably so because it needed to be fluid like grid and previously only grid spacing was fluid.

@github-actions github-actions bot temporarily deployed to demo-DES-882-2-use-flexbox-in-column July 17, 2024 07:56 Destroyed
@VincentSmedinga VincentSmedinga merged commit 86d693c into develop Jul 17, 2024
7 checks passed
@VincentSmedinga VincentSmedinga deleted the feature/DES-882-2-use-flexbox-in-column branch July 17, 2024 09:35
@github-actions github-actions bot mentioned this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants