Skip to content

Commit

Permalink
fix(styling): Fixed no code block styling, not sure when this happened
Browse files Browse the repository at this point in the history
  • Loading branch information
AVGVSTVS96 committed Jul 22, 2024
1 parent 78cbdba commit 8e38b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChatUI/CodeHighlight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const CodeHighlight = ({
}, [code]);

return !isInline ? (
<div className='relative'>
<div className='shiki not-prose relative [&_pre]:overflow-auto [&_pre]:rounded-lg [&_pre]:px-6 [&_pre]:py-5'>
{language ? (
<span className='absolute right-3 top-2 text-xs tracking-tighter text-muted-foreground/85'>
{language}
Expand Down

0 comments on commit 8e38b6a

Please sign in to comment.