From 1ebf9f0948b4fe1361ec33719c85d9efecb0fe97 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 8 Apr 2026 17:44:16 +0100 Subject: [PATCH] tweak(ui): session spacing --- packages/opencode/.opencode/package-lock.json | 31 +++++++++++++++++++ packages/ui/src/components/markdown.css | 8 ++--- session.json | 0 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 packages/opencode/.opencode/package-lock.json create mode 100644 session.json diff --git a/packages/opencode/.opencode/package-lock.json b/packages/opencode/.opencode/package-lock.json new file mode 100644 index 0000000000..cd3c011efc --- /dev/null +++ b/packages/opencode/.opencode/package-lock.json @@ -0,0 +1,31 @@ +{ + "name": ".opencode", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@opencode-ai/plugin": "*" + } + }, + "node_modules/@opencode-ai/plugin": { + "version": "1.2.6", + "license": "MIT", + "dependencies": { + "@opencode-ai/sdk": "1.2.6", + "zod": "4.1.8" + } + }, + "node_modules/@opencode-ai/sdk": { + "version": "1.2.6", + "license": "MIT" + }, + "node_modules/zod": { + "version": "4.1.8", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/packages/ui/src/components/markdown.css b/packages/ui/src/components/markdown.css index f8df99d8a8..26c9efd475 100644 --- a/packages/ui/src/components/markdown.css +++ b/packages/ui/src/components/markdown.css @@ -26,7 +26,7 @@ font-size: 14px; color: var(--text-strong); font-weight: var(--font-weight-medium); - margin-top: 24px; + margin-top: 0px; margin-bottom: 24px; line-height: var(--line-height-large); } @@ -40,7 +40,7 @@ /* Paragraphs */ p { - margin-bottom: 1rem; + margin-bottom: 12px; } /* Links */ @@ -59,7 +59,7 @@ ul, ol { margin-top: 8px; - margin-bottom: 24px; + margin-bottom: 12px; margin-left: 0; padding-left: 32px; list-style-position: outside; @@ -75,7 +75,7 @@ } li { - margin-bottom: 0.5rem; + margin-bottom: 8px; } li > p:first-child { diff --git a/session.json b/session.json new file mode 100644 index 0000000000..e69de29bb2