Make background header larger than the body width

This way the curve will still work as intended on very large screens.

We're not taking into account the padding of the <main> element in the
SDG goals index for simplicity, since adding it barely has any effect.
This commit is contained in:
Javi Martín
2021-10-28 14:48:23 +02:00
parent a75e470c7d
commit 5225c594ce

View File

@@ -2563,6 +2563,11 @@ table {
height: $line-height * 2;
background: $highlight;
margin-top: rem-calc(-48);
@include breakpoint($global-width) {
margin-left: calc(#{$full-width-margin});
margin-right: calc(#{$full-width-margin});
}
}
.cards-container {