Fix content container sizing

This commit is contained in:
Jake Howard 2022-09-29 20:22:07 +01:00
parent c691d0c594
commit 5efdf48c67
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,5 @@
@use "bulma/sass/utilities/initial-variables" as *;
$container-max-width: $widescreen;
$pre-background: unset;
$family-code: "Fira Code", monospace;
$dropdown-content-radius: 0;

View File

@ -39,8 +39,9 @@ section.content {
}
.container {
@include until($container-max-width) {
max-width: calc(99% - ($column-gap * 2));
@include touch {
// Keep a little padding around the content
max-width: calc(100% - $gap);
}
}