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

Flex layout and items margin and paddings #4573

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Fercas123
Copy link
Contributor

add margin and paddings to flex layout as a multiplier of salt-spacing

Copy link

changeset-bot bot commented Jan 14, 2025

🦋 Changeset detected

Latest commit: 2ad1a87

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@salt-ds/core Minor
@salt-ds/countries Patch
@salt-ds/data-grid Patch
@salt-ds/lab Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 10:54am

@Fercas123
Copy link
Contributor Author

/release-pr

@Fercas123
Copy link
Contributor Author

⁠i had added examples to all layouts built from flex, then removed them because it seemed too repetitive... there are 3 options i considered but could use some feedback

  • we add examples to all components built with flex
  • we add the examples to foundations/spacing and link to that section in the layouts
  • we add the example in flexLayout and link to that section from the other layouts that build from flex

@mark-tate
Copy link
Contributor

needs a changeset

chrispcode
chrispcode previously approved these changes Jan 27, 2025
site/src/examples/stack-layout/Spacing.module.css Outdated Show resolved Hide resolved
@libertymayc
Copy link
Contributor

this is great :) we also have to add 100% width/height to so many of our layout components... if there was a prop to do this too that would be awesome

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

Successfully merging this pull request may close these issues.

4 participants