Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion client/src/styles/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");
/* npm modules */
@import "~flexboxgrid";
@import "~@picocss/pico/css/pico.css";
@import "~@picocss/pico/scss/pico";

@import "./vars";
// themeing pico
Expand Down
9 changes: 9 additions & 0 deletions client/src/styles/vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@

--footer-height: 5rem;
}

// normalize.css and Pico both set `line-height` on the root element via
// zero-specificity `:where()` selectors, so whichever ends up later in the
// compiled stylesheet wins the cascade — order that isn't guaranteed to match
// source order once webpack concatenates separate CSS modules. Pin it here
// with real specificity so it can't lose regardless of module order.
html {
line-height: var(--line-height);
}