-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Stack reimplentation #93
base: main
Are you sure you want to change the base?
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sid/react-ui/azpmt9wo9 |
The UI tests are failing, could it be because we're adding a stack manually to the examples but the I like the children approach, the only improvement I can think of is checking if there is only one children and returning it instead of wrapping it in a div, although if you're using a Why do we prefer using a Also, with this approach there is another problem, the What do you mean about line height and white space? |
Yeah, I was too clever with the Preview component, will simplify it to get more explicit tests
No reason :) Would be interesting to know why others do it
I know what you mean. I really struggled with this - the container has it's own line height which breaks the vertical alignment in most of the tests :( |
Re-implemented the Stack one more time based on the working draft spec. Wrote down my notes here - http://sid.st/unpolished/flex-gap-polyfill
update: ugh white space and line height will create a bunch of problems to fix