Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-19 11:09:07 +02:00
parent b1c2315eca
commit 3aacabbb2c
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const { title } = Astro.props;
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200">
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6">
<slot />
</body>
</html>

View File

@ -21,7 +21,7 @@ const posts = await getPosts();
your website.
</p>
<h2 class="mt-6">Posts</h2>
<div class="grid grid-cols-3 mt-3">
<div class="flex gap-4 mt-3 flex-wrap">
{
posts.length > 0 ? (
posts.reverse().map((post) => (