diff --git a/src/scss/_partial/container.scss b/src/scss/_partial/container.scss index f05b439..0a25fe6 100644 --- a/src/scss/_partial/container.scss +++ b/src/scss/_partial/container.scss @@ -1,5 +1,4 @@ -.markdown-body, -.prose { +%container { max-width: fit-content; font-size: 1rem; color: var(--xm-c-general); diff --git a/src/scss/prose.scss b/src/scss/prose.scss index 0a605d7..d967ed9 100644 --- a/src/scss/prose.scss +++ b/src/scss/prose.scss @@ -2,6 +2,7 @@ .markdown-body, .prose { + @extend %container; @import '_partial/title'; @import '_partial/text'; @import '_partial/link';