Commit 80a0ac4
fix(css): restore tight nested-list spacing for Nextra 4
The old rules targeted Nextra 2 nx- classes, dead since the v4 migration.
Nextra 4 spaces content lists with my-[.5em] on <li> and
not-first:mt-[1.25em] on nested lists; scope tight margins to <article>.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 352c65c commit 80a0ac4
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
0 commit comments