Skip to content

Commit

Permalink
feat(addon-editor): support nested counters in ordered list
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Nov 3, 2022
1 parent 63c92d9 commit f15a364
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@
}

.tui-editor-socket ol {
counter-reset: counter;
counter-reset: item;
}

.tui-editor-socket ol > li:before {
content: counter(counter) '.';
content: counters(item, '.') '.';
width: 1.5rem;
margin: 0 0.75rem 0 -1.5rem;
counter-increment: counter;
counter-increment: item;
color: var(--tui-base-05);
vertical-align: top;
}
Expand Down

0 comments on commit f15a364

Please sign in to comment.