We're currently using a single ruleset for h1, h2, h3, h4, h5, h6 to apply a leading and trailing vertical rhythm unit. And if the compiled CSS was in px that would work. But the compiled CSS is in em which means the margins are relative to the font size of the heading, i.e. all the margins are wrong.
We need to pass the font-size to the leader() and trailer() mixins for each heading.
We're currently using a single ruleset for
h1, h2, h3, h4, h5, h6
to apply a leading and trailing vertical rhythm unit. And if the compiled CSS was inpx
that would work. But the compiled CSS is inem
which means the margins are relative to the font size of the heading, i.e. all the margins are wrong.We need to pass the font-size to the leader() and trailer() mixins for each heading.