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

Auto margin classes #61

Open
mdt2 opened this issue Nov 23, 2020 · 3 comments
Open

Auto margin classes #61

mdt2 opened this issue Nov 23, 2020 · 3 comments
Assignees

Comments

@mdt2
Copy link
Contributor

mdt2 commented Nov 23, 2020

Could be nice to have classes for auto margins:

.util-margin-left-auto {
  margin-left: auto;
}
@zastrow
Copy link
Contributor

zastrow commented Nov 23, 2020

This can be done already. Add the key/value to the spacer map.

@zastrow zastrow closed this as completed Nov 23, 2020
@zastrow zastrow reopened this Nov 23, 2020
@zastrow
Copy link
Contributor

zastrow commented Nov 23, 2020

On second thought…it might make sense to set this as a default.

@zastrow
Copy link
Contributor

zastrow commented Oct 8, 2021

What needs to be done here is add auto to the default spacing system map: https://github.com/sparkbox/sparkle/blob/main/globals/spacing/_map.scss

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

Successfully merging a pull request may close this issue.

4 participants