You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Garden's `&` selector does not behave as expected and this is a
hacky way around the problem.
In garden, the & symbol is used to target the parent element; however,
it does not work for the following selector:
`& * + *`. See: noprompt/garden#187
By removing all the spaces in the selector: `&>*+*`, it does work which
is what this commit changes.
As mentioned in green-coder/girouette#74 (comment), the problem is:
The expected output was more like
.space-x-2 > * + * {\n margin-left: 0.5rem;\n}
(without the&
)This bug happens because
"& > * + *"
is not matched byparent-selector-re
ingarden/src/garden/compiler.cljc
Lines 176 to 189 in 31066ed
This workaround is working:
The text was updated successfully, but these errors were encountered: