mirror of
https://codeberg.org/andyscott-pages/andyscott-dot-me.git
synced 2024-11-08 13:20:49 -05:00
fixing layout blog bug
This commit is contained in:
parent
9600adbf9f
commit
82f17479bc
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ const { image, title = SITE_TITLE, description = SITE_DESCRIPTION } = Astro.prop
|
|||
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
|
||||
<div class="drawer-content flex flex-col bg-base-100">
|
||||
<Header title={SITE_TITLE} />
|
||||
<div class="flex justify-center">
|
||||
<div class="md:flex md:justify-center">
|
||||
<main class="p-6 pt-10 max-w-[900px]">
|
||||
<slot />
|
||||
</main>
|
||||
|
|
|
@ -18,7 +18,7 @@ const {
|
|||
---
|
||||
|
||||
<BaseLayout title={title} description={description} image={heroImage}>
|
||||
<main class="flex justify-center">
|
||||
<main class="md:flex md:justify-center">
|
||||
<article class="prose prose-lg max-w-[750px] prose-img:mx-auto">
|
||||
{heroImage && <img src={heroImage} alt={title} class="w-full mb-6" />}
|
||||
<h1 class="title my-2 text-4xl font-bold">{title}</h1>
|
||||
|
|
Loading…
Reference in a new issue