List's content area does not apply gutter #1813
Closed
kemeris2000
started this conversation in
General
Replies: 2 comments
-
Hi @kemeris2000, This is actually by design as the content area wraps not the list items but forms the container areas of each item, whcih then contains a list of blocks. Thus the gutter will be appied to the child area of each list item's blocks. Debatable if this is how it should be, but when we wrote the code it was the more direct implementation. To apply the gutter here, you could do the following to add some padding: blocks:
- id: list
type: List
properties:
direction: row
areas:
content:
style:
paddingRight: 32px
blocks:
- id: list.$
type: Card
blocks:
- id: span
type: Span
properties:
content:
_state: list.$ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Understood, I am already doing similar thing, thank you for suggestion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions