feat: add unique class for each post
This commit is contained in:
@@ -47,7 +47,11 @@ export const SiteLayout: React.FC<SiteLayoutProps> = ({
|
||||
/>
|
||||
<SiteHeader site={site} />
|
||||
<style>{site?.css}</style>
|
||||
<div className="max-w-screen-md mx-auto px-5 pt-12">{children}</div>
|
||||
<div
|
||||
className={`xlog-post-id-${page?.id} max-w-screen-md mx-auto px-5 pt-12`}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
<div className="max-w-screen-md mx-auto pt-12 pb-10">
|
||||
<BlockchainInfo site={site} page={page} />
|
||||
</div>
|
||||
|
||||
@@ -29,6 +29,7 @@ const theme = EditorView.theme({
|
||||
fontSize: "1rem",
|
||||
overflow: "auto",
|
||||
height: "100%",
|
||||
paddingBottom: "200px",
|
||||
},
|
||||
".cm-content": {
|
||||
height: "100%",
|
||||
|
||||
Reference in New Issue
Block a user