1
0
Fork 0

wip(org): Changes to layouts and modal images

This commit is contained in:
Joost De Cock 2022-06-09 17:14:17 +02:00
parent b9df1709f1
commit ffea80f77b
7 changed files with 25 additions and 12 deletions

View file

@ -69,7 +69,7 @@ const PostPage = ({ post, author }) => {
<meta property="og:locale" content="en_US" key='locale' />
<meta property="og:site_name" content="freesewing.dev" key='site' />
</Head>
<article className="mb-12 px-8 xl:pl-8 2xl:pl-16 max-w-7xl">
<article className="mb-12">
<div className="flex flex-row justify-between text-sm mb-1 mt-2">
<span><TimeAgo date={post.date} /> [{post.date}]</span>
<span>
@ -89,7 +89,7 @@ const PostPage = ({ post, author }) => {
className="shadow m-auto"
/>
<figcaption
className="text-center mb-8 prose m-auto"
className="text-center mb-8 prose m-auto mt-1"
dangerouslySetInnerHTML={{__html: post.caption}}
/>
</Modal>