mirror of https://github.com/buster-so/buster.git
make the code inline a little smaller
This commit is contained in:
parent
79cf9a01a2
commit
d381cc8d44
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue