Skip to content

Conversation

@adamwathan
Copy link
Member

Previously we were setting the font and line-height on the body tag explicitly because of an override to body happening in modern-normalize, but I think this is actually a simpler change and makes things behave more like people expect coming from Tailwind v1.x.

@codecov-io
Copy link

codecov-io commented Nov 3, 2020

Codecov Report

Merging #2729 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2729   +/-   ##
=======================================
  Coverage   93.03%   93.03%           
=======================================
  Files         172      172           
  Lines        1737     1737           
  Branches      312      312           
=======================================
  Hits         1616     1616           
  Misses        104      104           
  Partials       17       17           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84d57ae...3cd11c3. Read the comment docs.

@adamwathan adamwathan merged commit 9585ae1 into master Nov 4, 2020
@adamwathan adamwathan deleted the body-font-inherit branch November 4, 2020 15:19
philipp-spiess added a commit that referenced this pull request Mar 18, 2025
It was added in #2729 to override line heights set on the body by
modern-normalize. However, it appears that modern-normalize never
included any line-height definitions—only a font-family rule was
present.

Ref:
https://github.com/sindresorhus/modern-normalize/blob/v1.1.0/modern-normalize.css

---------

Co-authored-by: Philipp Spiess <[email protected]>
tongrow pushed a commit to tongrow/tailwind-normalize that referenced this pull request Jun 2, 2025
It was added in tailwindlabs#2729 to override line heights set on the body by
modern-normalize. However, it appears that modern-normalize never
included any line-height definitions—only a font-family rule was
present.

Ref:
https://github.com/sindresorhus/modern-normalize/blob/v1.1.0/modern-normalize.css

---------

Co-authored-by: Philipp Spiess <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants