Skip to content

Commit 9d90931

Browse files
fix: use Georgia serif for agent response
1 parent 4ce835e commit 9d90931

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

docs/src/app/globals.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ code {
103103

104104
/* Agent response content */
105105
.response-content {
106-
font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
107-
font-size: 17px;
108-
line-height: 1.75;
106+
font-family: Georgia, "Times New Roman", Times, serif;
107+
font-size: 16px;
108+
line-height: 1.7;
109109
color: #1e293b;
110110
-webkit-font-smoothing: antialiased;
111111
}
@@ -121,10 +121,9 @@ code {
121121
.response-content h1,
122122
.response-content h2,
123123
.response-content h3 {
124-
font-family: var(--font-inter), -apple-system, sans-serif;
125124
font-weight: 600;
126125
color: #0f172a;
127-
margin-top: 1.5em;
126+
margin-top: 1.25em;
128127
margin-bottom: 0.5em;
129128
line-height: 1.3;
130129
}

docs/src/components/policy-chat.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -560,14 +560,7 @@ export function PolicyChat() {
560560
? "bg-red-50 border border-red-200"
561561
: "bg-white border border-[var(--color-border)]"
562562
}`}>
563-
<div
564-
className="response-content"
565-
style={{
566-
fontFamily: '"Instrument Serif", Georgia, serif',
567-
fontSize: '17px',
568-
lineHeight: 1.75,
569-
}}
570-
>
563+
<div className="response-content">
571564
<ReactMarkdown remarkPlugins={[remarkBreaks, remarkGfm]}>
572565
{message.content}
573566
</ReactMarkdown>

0 commit comments

Comments
 (0)