fix: not-prose p tag inconsistent style (#126)

* fix: not-prose p tag should reset styles

* chore: compile CSS
This commit is contained in:
Xin 2023-10-03 09:12:30 +01:00 committed by GitHub
parent 924d8508d0
commit 55ff819dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -1505,6 +1505,10 @@ video {
.content p:first-child {
margin-top: 0px;
}
.content .not-prose p {
margin-top: 0px;
line-height: 1.5;
}
.content a {
--tw-text-opacity: 1;
color: hsl(var(--primary-hue) 100% 45% / var(--tw-text-opacity));

View File

@ -20,6 +20,9 @@
p {
@apply mt-6 leading-7 first:mt-0;
}
.not-prose p {
@apply mt-0 leading-normal;
}
a {
@apply text-primary-600 underline decoration-from-font [text-underline-position:from-font];
}