chore: update content parser (#97)

This commit is contained in:
boojack
2022-06-30 21:19:50 +08:00
committed by GitHub
parent 5b2e6a568f
commit 64f67f4bda
8 changed files with 35 additions and 79 deletions

View File

@ -1,15 +1,14 @@
@import "./mixin.less";
.memo-content-text {
.flex(column, flex-start, flex-start);
@apply w-full whitespace-pre-wrap break-words;
@apply w-full whitespace-pre-wrap break-words text-base leading-7;
> p {
@apply inline-block w-full h-auto mb-1 last:mb-0 text-base leading-7 whitespace-pre-wrap break-words;
}
.tag-span {
@apply inline-block w-auto px-2 text-sm leading-6 border-none rounded cursor-pointer text-blue-600 bg-blue-50 hover:text-white hover:bg-blue-600;
@apply inline-block w-auto font-mono text-blue-600;
}
.memo-link-text {