style: fix codeblock and timeline widths
This commit is contained in:
parent
27762fe0e2
commit
5e98ccc46c
3 changed files with 5 additions and 0 deletions
3
assets/css/components/_codeblock.scss
Normal file
3
assets/css/components/_codeblock.scss
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.highlight {
|
||||||
|
max-inline-size: 50vw;
|
||||||
|
}
|
|
@ -13,6 +13,7 @@
|
||||||
@import "components/blockquote";
|
@import "components/blockquote";
|
||||||
@import "components/button";
|
@import "components/button";
|
||||||
@import "components/chart";
|
@import "components/chart";
|
||||||
|
@import "components/codeblock";
|
||||||
@import "components/comment";
|
@import "components/comment";
|
||||||
@import "components/details";
|
@import "components/details";
|
||||||
@import "components/figure";
|
@import "components/figure";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
&__timeline {
|
&__timeline {
|
||||||
margin-block-end: 1em;
|
margin-block-end: 1em;
|
||||||
|
max-inline-size: 50vw;
|
||||||
|
|
||||||
& #timeline {
|
& #timeline {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue