style: fix codeblock and timeline widths

This commit is contained in:
Ben Goldsworthy 2025-06-04 17:28:18 +02:00
parent 27762fe0e2
commit 5e98ccc46c
No known key found for this signature in database
3 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,3 @@
.highlight {
max-inline-size: 50vw;
}

View file

@ -13,6 +13,7 @@
@import "components/blockquote";
@import "components/button";
@import "components/chart";
@import "components/codeblock";
@import "components/comment";
@import "components/details";
@import "components/figure";

View file

@ -15,6 +15,7 @@
&__timeline {
margin-block-end: 1em;
max-inline-size: 50vw;
& #timeline {
clear: both;