mirror of
https://github.com/sst/opencode.git
synced 2025-08-28 08:54:06 +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;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* Add spacing between top-level list items */
|
||||
ol > li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-position: inside;
|
||||
padding-left: 0.75rem;
|
||||
list-style-position: outside;
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
/* Nested list spacing */
|
||||
li ul,
|
||||
li ol {
|
||||
margin-top: 0.25rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue