mirror of
https://github.com/sst/opencode.git
synced 2025-08-30 17:57:25 +00:00
tweak: adjust astro css to render mixed nested lists (#1411)
This commit is contained in:
parent
0bd0453866
commit
b5219f7585
1 changed files with 19 additions and 2 deletions
|
@ -34,19 +34,36 @@
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul,
|
||||||
|
ol {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add spacing between top-level list items */
|
||||||
|
ol > li {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
list-style-position: inside;
|
list-style-position: outside;
|
||||||
padding-left: 0.75rem;
|
padding-left: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Nested list spacing */
|
||||||
|
li ul,
|
||||||
|
li ol {
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue