Skip to content

Commit c447b06

Browse files
authored
layout: fix footer font-size on large screens #496
The footer font-size media query used `var(--main-breakpoint)` in its condition. Custom properties are invalid inside media queries, so the whole block was silently dropped and the footer never got its intended 0.9em on large screens. Inline the 60em literal (matching the other min-width breakpoints in this file) and drop the now-unused variable.
1 parent 4c1a894 commit c447b06

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

static/css/main.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
:root {
2-
--main-breakpoint: 60em;
3-
42
--sans-serif-fonts: var(--bs-font-sans-serif);
53

64
/* Colors */
@@ -487,7 +485,7 @@ footer {
487485
padding: 1em 0;
488486
}
489487

490-
@media (min-width: var(--main-breakpoint)) {
488+
@media (min-width: 60em) {
491489
footer {
492490
font-size: 0.9em;
493491
}

0 commit comments

Comments
 (0)