Skip to content
Snippets Groups Projects
Commit 8440290f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'rs-list-styling' into 'master'

Improve styling for mixed list styles

Tasks in an ordered list will now also show their numbers.

Closes #2488

Related to #3921

See merge request !2026
parents 608a7275 53fbb0ec
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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 {
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment