seankwilliams / modern-footnotes

WordPress plugin to provide inline footnotes inspired by the styles of Grantland and FiveThirtyEight
14 stars 10 forks source link

Prevent line-height to change in lines with a footnote #30

Closed larsschellhas closed 3 years ago

larsschellhas commented 4 years ago

In lines with a footnote, the line-height increases which causes a not-so-nice look when reading through a longer text.

I solved it by adding this CSS code: .modern-footnotes-footnote {line-height: initial;}

this version seems to work equally: .modern-footnotes-footnote {line-height: normal;}

seankwilliams commented 4 years ago

Thanks @larsschellhas ! I'll get this incorporated in a future release.

larsschellhas commented 4 years ago

Awesome! 😊