Skip to content

Commit 3d0f249

Browse files
committed
chore: enhance list styling
1 parent d050408 commit 3d0f249

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

example.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ method: Work in Groups
3939

4040
Describe the most important steps of the task here:
4141

42-
1. First go there
42+
1. **First** go there
43+
- One
44+
- Two
4345
1. Then do this
4446
1. Finally..
4547

styles/layout.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,13 @@ h6 {
121121
content: '- ';
122122
}
123123

124-
.slidev-layout ul {
124+
.slidev-layout ul, .slidev-layout ol, .slidev-layout dl {
125125
margin-top: 1rem;
126+
margin-bottom: 0.5rem;
127+
}
128+
129+
.slidev-layout li ul, .slidev-layout li ol, .slidev-layout li dl {
130+
margin-top: 0;
126131
}
127132

128133
.slidev-layout li {

0 commit comments

Comments
 (0)