mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: more decoration
This commit is contained in:
1 parent
c99ed0cb53
commit
b9bbf22f2c
6 files changed
+39
-20
No files matched your search
@@ -13,16 +13,5 @@ export function HighlightedCodeContent({ tree }: Props) {
|
||||
? tree
|
||||
: toJsxRuntime(tree, { Fragment, jsx, jsxs });
|
||||
|
||||
return (
|
||||
<Code
|
||||
style={{
|
||||
overflow: "auto",
|
||||
padding: "var(--space-3)",
|
||||
display: "block",
|
||||
whiteSpace: "pre",
|
||||
lineHeight: "1.5em",
|
||||
}}
|
||||
children={node}
|
||||
/>
|
||||
);
|
||||
return <Code variant="solid" children={node} />;
|
||||
}
|
||||
Reference in new issue
Block a user