style: center images if less than post width

This commit is contained in:
Ayo 2023-06-04 13:26:10 +02:00
parent 9a7c372ca8
commit b1e93845ec
2 changed files with 8 additions and 11 deletions

View file

@ -53,7 +53,6 @@ const datePublished =
font-size: small; font-size: small;
} }
p, p,
img,
table, table,
ul { ul {
margin: 1em 0; margin: 1em 0;

View file

@ -17,8 +17,6 @@ let article;
}; };
} }
--- ---
<Layout title={url !== "" ? article?.title : "Your modern-day reading assistant"}> <Layout title={url !== "" ? article?.title : "Your modern-day reading assistant"}>
<AddressBar url={url} /> <AddressBar url={url} />
{url && <Post article={article} />} {url && <Post article={article} />}