BREAKING CHANGE: deprecate `.markdown-body` used as `.prose`

This commit is contained in:
郭桓桓 2023-03-01 19:51:17 +08:00
parent 3db644fa05
commit e9c955a8f1
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
2 changed files with 2 additions and 9 deletions

View File

@ -1,12 +1,6 @@
%container {
@mixin container {
max-width: fit-content;
font-size: 1rem;
color: var(--xm-c-general);
line-height: 1.75;
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
}

View File

@ -1,8 +1,7 @@
@use '_partial/container' as *;
.markdown-body,
.prose {
@extend %container;
@include container;
@import '_partial/title';
@import '_partial/text';
@import '_partial/link';