-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Stack] Remove margin from vertical #1024
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
Conversation
7d7416e
to
b340bc4
Compare
b340bc4
to
be694de
Compare
be694de
to
78607a8
Compare
99f6c07
to
3cc9838
Compare
Are we sure this is something we want to fix? I believe this is fixed in chrome v73, @tmlayton I heard you might have checked the canary release? |
I see this bug in |
3cc9838
to
a6ac12e
Compare
Weird, maybe it was hotfixed into v73 and hasn't been merged it into canary yet for some reason? |
a6ac12e
to
31c5dee
Compare
Sorry I got my versions wrong, it looks like Tim tested it on canary v74. |
@AndrewMusgrave I have a screenshot for canary v74 |
31c5dee
to
8735d52
Compare
@solonaarmstrong Can you confirm this works (and doesn’t cause other issues) on supported browsers (including other desktop and mobile browsers than Chrome)? If so I think you’re right to encourage reviewers to look at this so we can ship a fix. |
@ry5n Here are some more screenshots of other browsers. I don't have context on why the margin would be needed for vertical stacks otherwise. @dleroux apparently does? I might need to migrate my machine before being able to fire up VirtualBox. (No idea why it says Bell Wifi. I wish!) SafariiOS (Safari)iOS (Firefox)iOS (Chrome) |
👋 Hey, just to catch up. Do we have any updates on this fix? I'm working on a redesigned version of the Payment Settings and we have this happening in quite a few pages. Is this issue not happening in many other places? |
Hey @mateus, I've tophatted these changes in |
8735d52
to
d66f6a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like this is working now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it by simply copying the proposed CSS over to the project and it seems to work as expected 👍 Thank you.
d66f6a3
to
88297dd
Compare
WHY are these changes introduced?
Resolves #947
When using a vertical
Stack
the contents appear to break out of the container and "bleed" into surrounding padding when one of the children starts to wrap.WHAT is this pull request doing?
Removes negative left margin from stack and left margin from item when vertical.
🤓 1024 - the gigabyte PR
How to 🎩
🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines
Copy-paste this code in
playground/Playground.tsx
:🎩 checklist