-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Treat columns property as a unitless number #10115
Conversation
Can't it also specify width? https://css-tricks.com/almanac/properties/c/columns/ |
@gaearon yes, it's a shorthand property like <div style={{ columns: 2 }} />
// Renders `columns: auto 2` If you provide an explicit pixel value it assumes you're setting the <div style={{ columns: "320px" }} />
// Renders `columns: 320px auto` Since it's already assumed that a single numerical value represents |
Flex box is a good reference point. I'd be in favor of matching it. |
👍 Leaving this up to you folks |
Resolves #10043