mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
reduce code font size
This commit is contained in:
parent
739829331b
commit
f2cac25562
1 changed files with 3 additions and 3 deletions
|
|
@ -258,7 +258,7 @@ export function CodeBlock({
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Text as="pre" className={css.CodeBlock}>
|
<Text size="T300" as="pre" className={css.CodeBlock}>
|
||||||
<Header variant="Surface" size="400" className={css.CodeBlockHeader}>
|
<Header variant="Surface" size="400" className={css.CodeBlockHeader}>
|
||||||
<Box grow="Yes">
|
<Box grow="Yes">
|
||||||
<Text size="L400" truncate>
|
<Text size="L400" truncate>
|
||||||
|
|
@ -433,9 +433,9 @@ export const getReactCustomHtmlParser = (
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<code className={css.Code} {...props}>
|
<Text as="code" size="T300" className={css.Code} {...props}>
|
||||||
{domToReact(children, opts)}
|
{domToReact(children, opts)}
|
||||||
</code>
|
</Text>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue