chore: optimize list indentation (#727)

This commit is contained in:
Nihil 2022-11-05 04:13:06 +08:00 committed by Cotes Chung
parent e107a2e759
commit 8134209aa2
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -461,21 +461,24 @@ img[data-src] {
} }
} }
> ol, ol,
> ul { ul {
-webkit-padding-start: 1.75rem; &:not([class]),
padding-inline-start: 1.75rem; &.task-list {
-webkit-padding-start: 1.75rem;
padding-inline-start: 1.75rem;
li { li {
margin: 0.25rem 0; margin: 0.25rem 0;
padding-left: 0.25rem; padding-left: 0.25rem;
} }
ol, ol,
ul { ul {
-webkit-padding-start: 1rem; -webkit-padding-start: 1.25rem;
padding-inline-start: 1rem; padding-inline-start: 1.25rem;
margin: 0.5rem 0; margin: 0.5rem 0;
}
} }
} }