Skip to content

Commit cafc2b2

Browse files
committed
chore: cleanup
1 parent 36709aa commit cafc2b2

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

packages/ui/src/components/message-part.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
[data-component="markdown"] {
286286
margin-top: 24px;
287287
font-style: normal;
288-
font-size: inherit;
288+
font-size: var(--font-size-base);
289289
color: var(--text-weak);
290290

291291
strong,

packages/ui/src/components/timeline-playground.stories.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,20 @@ const CSS_CONTROLS: CSSControl[] = [
979979
},
980980

981981
// --- Reasoning part ---
982+
{
983+
key: "reasoning-md-font-size",
984+
label: "Reasoning font size",
985+
group: "Reasoning Part",
986+
type: "range",
987+
initial: "14",
988+
selector: '[data-component="reasoning-part"] [data-component="markdown"]',
989+
property: "font-size",
990+
min: "10",
991+
max: "22",
992+
step: "1",
993+
unit: "px",
994+
source: { file: MP, anchor: '[data-component="reasoning-part"]', prop: "font-size", format: px },
995+
},
982996
{
983997
key: "reasoning-md-margin-top",
984998
label: "Reasoning markdown margin-top",

0 commit comments

Comments
 (0)