Closed planktonic closed 11 months ago
How is this different from a-content
?
How is this different from
a-content
?
@ArinzeJeffrey-droid the content
atom is for restricting the width of the element, and applying padding at the sides. The stack atom doesn’t do that, it applies vertical space between each child element (it looks like it “applies space below each child element”, but technically it’s above). Both could be used together, and would probably be great for a main layout area! Perhaps we should add some docs for the layout primitives — I’ve added an issue for that: #791
Part of #779
Changes
📸 Looks like
How to QA
đź‘€ Visual changes
git fetch
git checkout feature/779-add-some-layout-primitives
yarn
yarn storybook
Check:
đź‘ľ Code changes
Check:
Preflight checks
test/scss/
have been updatedunreleased
section of CHANGELOG.md