fix: add stylings for list
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { nodesToHtml } from "./utils"
|
||||
|
||||
import styles from "./jsontohtml.module.css"
|
||||
|
||||
import type { JsonToHtmlProps } from "@/types/components/jsontohtml"
|
||||
|
||||
export default function JsonToHtml({
|
||||
@@ -11,7 +13,7 @@ export default function JsonToHtml({
|
||||
return null
|
||||
}
|
||||
return (
|
||||
<section style={{ display: "grid", gap: "var(--Spacing-x3" }}>
|
||||
<section className={styles.container}>
|
||||
{nodesToHtml(nodes, embeds, renderOptions).filter(Boolean)}
|
||||
</section>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user