From 1cb7eddd62729a2255e766ff45b03f4eda32ee59 Mon Sep 17 00:00:00 2001 From: ebby Date: Thu, 10 Sep 2026 09:05:22 +0200 Subject: [PATCH] min width of bigpreview --- blog/src/components/PostPreviewLarge.astro | 2 ++ blog/src/styles/global.css | 8 ++++++++ 2 files changed, 10 insertions(+) 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%;