feat: add unique class for each post

This commit is contained in:
DIYgod
2022-08-26 01:46:44 +01:00
parent c0712824cb
commit 35530af0df
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -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>
+1
View File
@@ -29,6 +29,7 @@ const theme = EditorView.theme({
fontSize: "1rem",
overflow: "auto",
height: "100%",
paddingBottom: "200px",
},
".cm-content": {
height: "100%",