Skip to content
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

Columns: column width seems to not consider space between columns #350

Open
veej opened this issue Aug 5, 2022 · 0 comments
Open

Columns: column width seems to not consider space between columns #350

veej opened this issue Aug 5, 2022 · 0 comments

Comments

@veej
Copy link
Member

veej commented Aug 5, 2022

The fractional width of a Column inside the Columns layout component is computed considering the whole width of the parent, without considering gaps between the columns.

Hence, for example, two columns with width "1/2" and a gap between them will lead to an overall width > 100%.

Note: Braid's strategy is to avoid gap and use paddingLeft instead, adding a negative left margin to the parent to compensate the padding of the first column. Consider using the same approach in bento

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant