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

margin shorthand with 3 values is merged into one #82

Open
renestalder opened this issue Aug 29, 2018 · 0 comments
Open

margin shorthand with 3 values is merged into one #82

renestalder opened this issue Aug 29, 2018 · 0 comments
Labels

Comments

@renestalder
Copy link

Input:

.klt-p-block-heading {
    margin: var(--klt-l-spacing-1, 0) 0 var(--klt-l-spacing-3, 0);
    position: relative;
}

Expected output:

.klt-p-block-heading {
    margin: 40px 0 30px;
    position: relative;
}

Given output:

.klt-p-block-heading {
    margin: 40px;
    position: relative;
}

Works fine when using margin with 4 values and two values. But not with 3 values. Possible to happen with other shorthands too.

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

No branches or pull requests

2 participants