From 5c0698564774d2e4f6edfc221d3bce7fde3d2c64 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Fri, 25 Jul 2025 19:04:14 +0800 Subject: [PATCH] update --- src/pages/news/[...slug].astro | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/pages/news/[...slug].astro b/src/pages/news/[...slug].astro index 2b5276c..1ea25e0 100644 --- a/src/pages/news/[...slug].astro +++ b/src/pages/news/[...slug].astro @@ -160,7 +160,7 @@ const bytedanceData = formatDate(data.created_at) padding-left: 125px; } } - .news-content img { + .news-container img { max-width: 100%; height: auto; } @@ -427,12 +427,6 @@ const bytedanceData = formatDate(data.created_at) overflow: hidden; } - .news-content { - padding-top: 3rem; - font-size: 1.1rem; - line-height: 1.3; - } - .news-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); @@ -452,10 +446,6 @@ const bytedanceData = formatDate(data.created_at) transform: scale(1.02); } - .news-content p { - margin-bottom: 1.8rem; - } - .news-content p:last-child { margin-bottom: 0; }