make the code inline a little smaller

This commit is contained in:
Nate Kelley 2025-07-23 23:16:08 -06:00
parent 79cf9a01a2
commit d381cc8d44
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import {
} from '@/lib/messages/confidence-translations';
import { CircleCheck, OctagonWarning } from '@/components/ui/icons';
import { Pill } from '@/components/ui/pills/Pill';
import AppMarkdownStreaming from '@/components/ui/streaming/AppMarkdownStreaming/AppMarkdownStreaming';
import { AppMarkdownStreaming } from '@/components/ui/streaming/AppMarkdownStreaming';
type MessageAssumptionsProps = Pick<
PostProcessingMessage,

View File

@ -336,7 +336,9 @@ export const CodeComponent: React.FC<
if (isInline) {
return (
//do not animate the code block
<code style={style} className={cn(className, 'bg-item-select rounded-sm border px-1')}>
<code
style={style}
className={cn(className, 'bg-item-select rounded-sm border px-1 text-sm')}>
{children}
</code>
);