inherit font size from UI for thoughts (#3099)

This commit is contained in:
Timothy Carambat 2025-02-03 14:39:39 -08:00 committed by GitHub
parent a4d5b2588f
commit cded1404cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ export const ThoughtChainComponent = forwardRef(
<div className="flex-1 overflow-hidden">
{!isExpanded && !autoExpand ? (
<span
className="text-xs text-theme-text-secondary font-mono inline-block w-full"
className="text-theme-text-secondary font-mono inline-block w-full"
dangerouslySetInnerHTML={{
__html: DOMPurify.sanitize(
truncate(tagStrippedContent, THOUGHT_PREVIEW_LENGTH)
@ -93,7 +93,7 @@ export const ThoughtChainComponent = forwardRef(
/>
) : (
<span
className="text-xs text-theme-text-secondary font-mono inline-block w-full"
className="text-theme-text-secondary font-mono inline-block w-full"
dangerouslySetInnerHTML={{
__html: DOMPurify.sanitize(
renderMarkdown(tagStrippedContent)