Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Multiple selectors override each other. #11

Open
itzikbenh opened this issue Mar 17, 2017 · 1 comment
Open

Multiple selectors override each other. #11

itzikbenh opened this issue Mar 17, 2017 · 1 comment
Labels

Comments

@itzikbenh
Copy link

itzikbenh commented Mar 17, 2017

First, thank you for creating this great package. I come from bootstrap where there's no such thing as gutters :)

Not sure if this is intentional or not, but I can't use multiple selectors.

//company-information overrides create-login. 
.create-login, .company-information {
	gg: columns(1/2 1/2)  gutters(100px, 10px);
}

//An example of the compiled code
#register .create-login, #register .company-information > *:nth-child(n + 3) {
	margin-top: 10px; 
}

If I separate them then it will work just fine.
Just wanted to make sure it's okay.

Sorry if this is something obvious that I missed.

@corysimmons
Copy link
Owner

Oh, that's terrible. Thank you for pointing this out. Will work on it soon.

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

No branches or pull requests

2 participants