Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions client/src/styles/vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@

--footer-height: 5rem;
}

// normalize.css and pico.css both set `line-height` on the root element via
// zero-specificity `:where()` selectors, so whichever one is later in the
// compiled stylesheet wins. Production builds concatenate CSS modules in a
// different order than the dev server, which flips the winner and shrinks
// line-height app-wide. Pin it explicitly here (real specificity) so it
// can't lose to either vendor reset regardless of build order.
html {
line-height: var(--line-height);
}