refactor(container): use `@extend` to import container

This commit is contained in:
郭桓桓 2023-03-01 00:47:59 +08:00
parent aa8823c6eb
commit 5fc2c0a068
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,4 @@
.markdown-body, %container {
.prose {
max-width: fit-content; max-width: fit-content;
font-size: 1rem; font-size: 1rem;
color: var(--xm-c-general); color: var(--xm-c-general);

View File

@ -2,6 +2,7 @@
.markdown-body, .markdown-body,
.prose { .prose {
@extend %container;
@import '_partial/title'; @import '_partial/title';
@import '_partial/text'; @import '_partial/text';
@import '_partial/link'; @import '_partial/link';