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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add container utility class (default, centered & with padding) #13391

Closed

Conversation

francoismassart
Copy link

This PR attempts to fix the issue #13129

It adds the default declarations for the container utility class and it also supports options like centering and padding by using new optional CSS var in the theme.css.

I also added tests to demonstrates the usage.

Feedbacks are welcome 馃憤

@adamwathan
Copy link
Member

Hey thanks for the PR! Going to hold off on this one for now because I'm not quite sure if we want to include it by default in v4 or make it something you optionally import via a CSS import we ship. Will revisit after we've figured out the custom styles/plugins story 馃憤 Thanks regardless!

@adamwathan adamwathan closed this Mar 28, 2024
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.

None yet

2 participants