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; }