summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/markdown.css
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/components/markdown.css')
-rw-r--r--packages/ui/src/components/markdown.css14
1 files changed, 12 insertions, 2 deletions
diff --git a/packages/ui/src/components/markdown.css b/packages/ui/src/components/markdown.css
index a30510a8d..ef4318733 100644
--- a/packages/ui/src/components/markdown.css
+++ b/packages/ui/src/components/markdown.css
@@ -60,8 +60,8 @@
ol {
margin-top: 0.5rem;
margin-bottom: 1rem;
- padding-left: 0;
- list-style-position: inside;
+ padding-left: 1.5rem;
+ list-style-position: outside;
}
ul {
@@ -76,6 +76,16 @@
margin-bottom: 0.5rem;
}
+ li > p:first-child {
+ display: inline;
+ margin: 0;
+ }
+
+ li > p + p {
+ display: block;
+ margin-top: 0.5rem;
+ }
+
li::marker {
color: var(--text-weak);
}