Pilot-in / PiloPress

The most advanced WordPress Page Builder using Advanced Custom Fields & TailwindCSS
https://www.pilopress.com
63 stars 11 forks source link

Fixes the Admin styles being all messed up #234

Closed jerome-pilotin closed 1 year ago

jerome-pilotin commented 1 year ago

postcss-nested and postcss-prefix-selector interact in such a way that the prefix is repeated within each nested rule if it doesn't use the '&' token, causing broken rules

Updating postcss-prefix-selector to ^1.11.0 didn't help. Switching to postcss-prefixwrap could potentially fix it but it looks like it requires '&' inside all nested rules anyway... Not an improvement thusly

It also fixes a few rules that were overriden by WordPress' Admin Styles