The actual outcome is the div will have a padding of 8px because that rule comes later in the CSS file.
It would be nice to automatically remove the rp__padding__--COLON4px from the markup if it isn't used. This would reduce the markup file size, and could also reduce the CSS size if we have a feature to remove unused CSS.
This would be handled by a top level boolean on a task (
{ removeDuplicateProperties: true }
).Currently this
outputs this
The actual outcome is the div will have a padding of 8px because that rule comes later in the CSS file.
It would be nice to automatically remove the
rp__padding__--COLON4px
from the markup if it isn't used. This would reduce the markup file size, and could also reduce the CSS size if we have a feature to remove unused CSS.