postcss-ant icon indicating copy to clipboard operation
postcss-ant copied to clipboard

Multiple selectors override each other.

Open itzikbenh opened this issue 7 years ago • 1 comments

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.

itzikbenh avatar Mar 17 '17 02:03 itzikbenh

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

corysimmons avatar Mar 17 '17 02:03 corysimmons