Improve styling for mixed list styles
Tasks in an ordered list will now also show their numbers. Closes #2488 Related to #3921
This commit is contained in:
parent
d1ee3b7bad
commit
53fbb0ecda
2 changed files with 11 additions and 9 deletions
|
@ -88,8 +88,14 @@ ul.bordered-list {
|
|||
}
|
||||
}
|
||||
|
||||
li.task-list-item {
|
||||
list-style-type: none;
|
||||
ul.task-list {
|
||||
li.task-list-item {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul:not(.task-list) {
|
||||
padding-left: 1.3em;
|
||||
}
|
||||
}
|
||||
|
||||
ul.content-list {
|
||||
|
|
|
@ -109,13 +109,9 @@ ul.notes {
|
|||
}
|
||||
}
|
||||
|
||||
// Reduce left padding of first task list ul element
|
||||
ul.task-list:first-child {
|
||||
padding-left: 10px;
|
||||
|
||||
// sub-tasks should be padded normally
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
ul.task-list {
|
||||
ul:not(.task-list) {
|
||||
padding-left: 1.3em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue