Fix nested list style in Markdown preview (#190936)

This commit is contained in:
hsfzxjy 2023-08-23 06:24:53 +08:00 committed by GitHub
parent 691b5edcf6
commit 870d659ffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,10 +106,10 @@ sup {
line-height: 0;
}
ul ul,
ul ol,
ol ul,
ol ol {
ul ul:first-child,
ul ol:first-child,
ol ul:first-child,
ol ol:first-child {
margin-bottom: 0;
}
@ -138,6 +138,10 @@ p {
margin-bottom: 16px;
}
li p {
margin-bottom: 0.7em;
}
ul,
ol {
margin-bottom: 0.7em;