summaryrefslogtreecommitdiffhomepage
path: root/packages/ui
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-03-25 11:15:29 -0500
committerAdam <[email protected]>2026-03-25 11:15:34 -0500
commitcafc2b204b8061b66b4fe010aaa2848d8f9e1bc8 (patch)
tree4f37f94f2393970de85b9d64325b91019ac1941a /packages/ui
parent36709aae5f6ca567f85ac6fb721db271c5f38f60 (diff)
downloadopencode-cafc2b204b8061b66b4fe010aaa2848d8f9e1bc8.tar.gz
opencode-cafc2b204b8061b66b4fe010aaa2848d8f9e1bc8.zip
chore: cleanup
Diffstat (limited to 'packages/ui')
-rw-r--r--packages/ui/src/components/message-part.css2
-rw-r--r--packages/ui/src/components/timeline-playground.stories.tsx14
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/ui/src/components/message-part.css b/packages/ui/src/components/message-part.css
index fbde8ee7c..bb16581d6 100644
--- a/packages/ui/src/components/message-part.css
+++ b/packages/ui/src/components/message-part.css
@@ -285,7 +285,7 @@
[data-component="markdown"] {
margin-top: 24px;
font-style: normal;
- font-size: inherit;
+ font-size: var(--font-size-base);
color: var(--text-weak);
strong,
diff --git a/packages/ui/src/components/timeline-playground.stories.tsx b/packages/ui/src/components/timeline-playground.stories.tsx
index 00d458fa0..1e2d1bbc6 100644
--- a/packages/ui/src/components/timeline-playground.stories.tsx
+++ b/packages/ui/src/components/timeline-playground.stories.tsx
@@ -980,6 +980,20 @@ const CSS_CONTROLS: CSSControl[] = [
// --- Reasoning part ---
{
+ key: "reasoning-md-font-size",
+ label: "Reasoning font size",
+ group: "Reasoning Part",
+ type: "range",
+ initial: "14",
+ selector: '[data-component="reasoning-part"] [data-component="markdown"]',
+ property: "font-size",
+ min: "10",
+ max: "22",
+ step: "1",
+ unit: "px",
+ source: { file: MP, anchor: '[data-component="reasoning-part"]', prop: "font-size", format: px },
+ },
+ {
key: "reasoning-md-margin-top",
label: "Reasoning markdown margin-top",
group: "Reasoning Part",