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

Add new classes for grid-auto-columns and grid-auto-rows #166

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

ben-rogerson
Copy link
Owner

This PR adds support for the new auto-cols-xxx and auto-rows-xxx classes in [email protected]:

import tw from 'twin.macro'

tw`auto-cols-auto`
tw`auto-cols-min`
tw`auto-cols-max`
tw`auto-cols-fr`

tw`auto-rows-auto`
tw`auto-rows-min`
tw`auto-rows-max`
tw`auto-rows-fr`

// ↓ ↓ ↓ ↓ ↓ ↓

({
  "gridAutoColumns": "auto"
});
({
  "gridAutoColumns": "min-content"
});
({
  "gridAutoColumns": "max-content"
});
({
  "gridAutoColumns": "minmax(0, 1fr)"
});
({
  "gridAutoRows": "auto"
});
({
  "gridAutoRows": "min-content"
});
({
  "gridAutoRows": "max-content"
});
({
  "gridAutoRows": "minmax(0, 1fr)"
});

@ben-rogerson ben-rogerson changed the title Add new utilities for grid-auto-columns and grid-auto-rows Add new classes for grid-auto-columns and grid-auto-rows Oct 17, 2020
@ben-rogerson ben-rogerson merged commit 650cbf3 into release/1.11.0 Oct 17, 2020
@ben-rogerson ben-rogerson deleted the feature/auto-cols-rows branch October 17, 2020 22:24
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