You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the condensed grid the vertical spacing is put on the bx--row class. This doesn't allow for wrapping of columns. For instance when you have 16 columns setup at (1, 16), and on the medium breakpoint they fall back to (1, 8). To get this the columns begin to wrap. You now have 2 rows of 8, but because the bx--row doesn't wrap with it the spacing in between the columns collapse and butt up against each other.
This is actually two rows of wrapped columns that demonstrates the problem.
Is this issue related to a specific component?
condensed grid
What did you expect to happen? What happened instead? What would you like to
see changed?
I expect each column to manage the vertical spacing so when they wrap, they get the proper spacing.
Thinking out loud here we could replace L323-L329 with something like this...
What package(s) are you using?
@carbon/grid
carbon-components
Detailed description
When using the condensed grid the vertical spacing is put on the
bx--row
class. This doesn't allow for wrapping of columns. For instance when you have16
columns setup at(1, 16)
, and on the medium breakpoint they fall back to(1, 8)
. To get this the columns begin to wrap. You now have 2 rows of 8, but because thebx--row
doesn't wrap with it the spacing in between the columns collapse and butt up against each other.This is actually two rows of wrapped columns that demonstrates the problem.
condensed grid
I expect each column to manage the vertical spacing so when they wrap, they get the proper spacing.
Thinking out loud here we could replace L323-L329 with something like this...
codesandbox example
https://codesandbox.io/s/unruffled-raman-6rl7u?fontsize=14
The text was updated successfully, but these errors were encountered: