markgoodyear / postcss-vertical-rhythm

A PostCSS plugin to create a custom vertical rhythm unit from the base font-size and line-height.
MIT License
74 stars 6 forks source link

Transformation fails if more than one root element exists #1

Closed json-uk closed 9 years ago

json-uk commented 9 years ago

I've noticed that if there's more than one rootSelector transformation fails with a Font declaration not found in body. I believe the reason for this is the plugin does not collect and match multiple elements.

markgoodyear commented 9 years ago

Thanks @json-uk — I'll take a look into this.

markgoodyear commented 9 years ago

This should be now working as expected. Let me know if you run into any further issues.

json-uk commented 9 years ago

@markgoodyear thanks for turning this around so quickly