-
Notifications
You must be signed in to change notification settings - Fork 1.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
fix: banner paddings #27301
fix: banner paddings #27301
Conversation
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated70 snapshot changes in total. 0 added, 70 modified, 0 deleted:
Triggered by this commit. |
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.
I'll be honest, I don't fully understand how your change shifted these pages down but it is now properly fitted so it works for me.
The pages where the first content block is the tab component looks like the space is a bit too large because of the padding on the tab but just a minor thing. It only looks fine now because the page is incorrectly formatted.
@zlwaterfield Do you think it's worth fixing the padding issues by moving the logic down into the |
Ah yeah that's a good point. Yeah because those components render null for many cases. |
@zlwaterfield updated to move the check down into the individual components. Not the prettiest, but get's the job done |
📸 UI snapshots have been updated70 snapshot changes in total. 0 added, 70 modified, 0 deleted:
Triggered by this commit. |
Might need to pull this and merge locally. Just use snapshots from master and it will re-run and update them after you push. |
📸 UI snapshots have been updated58 snapshot changes in total. 0 added, 58 modified, 0 deleted:
Triggered by this commit. |
Problem
Banners had no padding on raw layouts
Changes
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
Looked at the banner