Skip to content

Commit

Permalink
fix: Make code renderer scale text responsively
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Feb 7, 2022
1 parent 53f74ef commit c44acba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const CodeRenderer = memo(
);

return (
<Box position="relative" {...boxProps}>
<Box position="relative" fontSize={{ base: 'sm', md: 'md' }} {...boxProps}>
<HStack top="0.5rem" right="0.5rem" position="absolute">
{copyButton && (
<IconButton
Expand Down

0 comments on commit c44acba

Please # to comment.