Skip to content

Commit

Permalink
chore: enhance list styling
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript committed Feb 1, 2024
1 parent d050408 commit 3d0f249
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion example.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ method: Work in Groups

Describe the most important steps of the task here:

1. First go there
1. **First** go there
- One
- Two
1. Then do this
1. Finally..

Expand Down
7 changes: 6 additions & 1 deletion styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,13 @@ h6 {
content: '- ';
}

.slidev-layout ul {
.slidev-layout ul, .slidev-layout ol, .slidev-layout dl {
margin-top: 1rem;
margin-bottom: 0.5rem;
}

.slidev-layout li ul, .slidev-layout li ol, .slidev-layout li dl {
margin-top: 0;
}

.slidev-layout li {
Expand Down

0 comments on commit 3d0f249

Please sign in to comment.