-
Notifications
You must be signed in to change notification settings - Fork 72
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
[fides.js] Fix button arrangement #4407
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Passing run #5211 ↗︎
Details:
Review all test suite changes for PR #4407 ↗︎ |
children?: ComponentChildren; | ||
middleButton?: VNode; |
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'm glad these are gone!
Thanks @galvana , that's a good catch! I'll fix the opt in/out button padding 👍 I'm unable to reproduce the modal padding being different though... I wonder if it has to do with that scrollbar thing? |
@galvana it appears that removing |
Fixed the button padding issue! c0b6e0b |
@allisonking, it was so that the modal description didn't flicker when going from a tab with overflow content to one without. I think we can just move |
To fix odd padding when scroll bar is always enabled
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.
Thanks for the fixes, this looks ready to me!
Co-authored-by: Adrian Galvan <[email protected]>
Co-authored-by: Adrian Galvan <[email protected]>
Closes https://ethyca.atlassian.net/browse/PROD-1339
Description Of Changes
Privacy policy is now always in the middle, per this design: https://www.figma.com/file/dmEwdK3xZwjKfGVQ9t66xe/Fides-v.2-Master-Working-Files?type=design&node-id=11310-269887&mode=design&t=OnhFjNC97D3WXHL9-0
This simplifies the code considerably! Also fixes some alignment issues.
https://www.loom.com/share/d27a84f9a8a241c4bbe43e22a13c5500?sid=bee861e1-df2c-4747-9427-ce5da6022d2f
Code Changes
ConsentBanner.tsx
be responsible for rendering the privacy policy instead of parent components passing it in as a middle button or as a child. Since the policy is always in the middle now, this is feasible and cleans the code up a bit!Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md