-
Notifications
You must be signed in to change notification settings - Fork 22
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
[FEQ] aum/FEQ-1654/pagelayout-improvements-remove-right-content-flex #48
[FEQ] aum/FEQ-1654/pagelayout-improvements-remove-right-content-flex #48
Conversation
c0e3cab
to
25ee8d8
Compare
@aum-deriv need your opinion on this. how about instead of limit the layout to only have two columns we have sth more general where the consumer can pass as many columns as they need and control the style with props. for instance this:
then the consumer can decide which one is suitable for their case. for instance maybe the accounts team want to use context to handle the shared data between content and sideNote then they can go with the second example or the cashier decide to use the first one. what do you think guys? |
My feeling is, that we shouldn't overly generalise. There are plenty of open-source layouting frameworks and I'm pretty sure we do not want to build another one internally due to overgeneralisation. |
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.
and one more thing. I noticed that we have a component called Layout
as well. if we don't need that one then please remove it 🙏
…layout-improvements-remove-right-content-flex
🎉 This PR is included in version 1.1.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Changes
Remove the right section prop
Fix: Content flex
flex: 1
for the content section so that it can stretch to the entire width available to it.Screen.Recording.2024-01-31.at.5.27.10.PM.mov