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

Improved Gutters #768

Open
pkozuchowski opened this issue Jul 5, 2024 · 0 comments
Open

Improved Gutters #768

pkozuchowski opened this issue Jul 5, 2024 · 0 comments

Comments

@pkozuchowski
Copy link

pkozuchowski commented Jul 5, 2024

SLDS implements gutters by applying different styling to first and following elements, for example here in the highlights panel or in buttons:

image
image
image
image

I've recently learned that with "gap" css attribute, you can pretty much achieve the same in much cleaner way, but I don't see any SLDS class that would implement this. If such class was exposed, creating a gap between buttons or columns would be as easy as adding "slds-grid slds-gap_small" on container class.

From LWC development perspective, it would make tons of stuff easier and more streamlined.

image

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

No branches or pull requests

1 participant