summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/markdown.css
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-21 13:31:06 -0600
committerAdam <[email protected]>2026-01-22 22:12:12 -0600
commit1e1872aada10fc39126e13675560e692e80258d0 (patch)
tree0953f5260711ad2232af9f5d3ba5c3fe031f93ab /packages/ui/src/components/markdown.css
parentcb481d9ac861813d4ff091ed33bcac9e882da1a1 (diff)
downloadopencode-1e1872aada10fc39126e13675560e692e80258d0.tar.gz
opencode-1e1872aada10fc39126e13675560e692e80258d0.zip
wip(app): line selection
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);
}