You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Stack component is wonderful, but we ran into a case where we needed it to stack in a reverse way, for example this is what normal stack looks like:
We needed a reverse stack like this:
This is the code I used to achieve this, from the unstyled/stack.css file:
I'm not sure how to go about if I would need to do this in the styled/stack.css too at all, I don't see any translateY calls which are what I changed. But I can submit a PR adding this if necessary.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The
Stack
component is wonderful, but we ran into a case where we needed it to stack in a reverse way, for example this is what normal stack looks like:We needed a reverse stack like this:
This is the code I used to achieve this, from the
unstyled/stack.css
file:I'm not sure how to go about if I would need to do this in the
styled/stack.css
too at all, I don't see anytranslateY
calls which are what I changed. But I can submit a PR adding this if necessary.Beta Was this translation helpful? Give feedback.
All reactions