-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Grid: allow multiple values for reversed
prop
#2222
Comments
reversed
prop
which syntax is supported?
|
<Grid reversed="computer tablet"/> https://react.semantic-ui.com/collections/grid#grid-example-reversed-multiple |
How can we have it reversed for all the sizes? is there catchall? |
<Grid reversed="all" /> would be great |
@webberwang the |
@brianespinosa I was rendering an array of Grid's, I'm offsetting every other Grid to make a zig zag layout for text on one side and image on another. I think there could still be a use case for "all". In my case I can't control the order manually if I'm mapping the components. or just <Grid reversed /> |
@webberwang the great news is that you can actually do that in your map. If you want to post a question and a link to it on Stack Overflow with an example of what you are trying to do with your markup and the code for your |
@brianespinosa oh thanks for that tip! I forgot we can do that |
Steps
Trying to create a grid whose columns are reversed on Mobile and Tablet.
I tried:
Expected Result
Same behavior as in Semantic UI: https://codepen.io/dhilgarth/pen/Naezay
Actual Result
Error message:
Version
0.75.1
Testcase
https://codesandbox.io/s/w0n3wp9j48
See also my question on SO
The text was updated successfully, but these errors were encountered: