diff --git a/blog/src/components/PostPreviewLarge.astro b/blog/src/components/PostPreviewLarge.astro index dc876c3..1bcfba5 100644 --- a/blog/src/components/PostPreviewLarge.astro +++ b/blog/src/components/PostPreviewLarge.astro @@ -41,6 +41,7 @@ const localeDate = formatLocalizedDateString(post.date) display: flex; gap: 32px; padding: 0 32px; + min-width: 80%; } .col { @@ -91,6 +92,7 @@ const localeDate = formatLocalizedDateString(post.date) .wide-container { flex-direction: column; gap: 0; + min-width: auto; } .col { diff --git a/blog/src/styles/global.css b/blog/src/styles/global.css index 093e037..b516774 100644 --- a/blog/src/styles/global.css +++ b/blog/src/styles/global.css @@ -8,6 +8,14 @@ box-sizing: border-box; } +main { + width: 100%; + align-items: center; + display: flex; + flex-direction: column; + +} + html, body { height: 100%;