From 09603a97a453a74d46ead317484cc1dcad1ec807 Mon Sep 17 00:00:00 2001 From: martinwq997 <2246839805@qq.com> Date: Mon, 1 Sep 2025 18:12:02 +0800 Subject: [PATCH] Restored the document file and modified the scrolling implementation of the Rust pages. --- .../crate-info/[crateName]/index.tsx | 2 +- .../crate-info/[crateName]/layout.tsx | 18 +- .../pages/[org]/rust/rust-ecosystem/index.tsx | 24 +- .../rust/rust-ecosystem/search/index.tsx | 241 +++++++++--------- .../web/pages/[org]/rust/rust-news/index.tsx | 127 ++++----- moon/apps/web/pages/_document.tsx | 7 +- 6 files changed, 220 insertions(+), 199 deletions(-) diff --git a/moon/apps/web/pages/[org]/rust/rust-ecosystem/crate-info/[crateName]/index.tsx b/moon/apps/web/pages/[org]/rust/rust-ecosystem/crate-info/[crateName]/index.tsx index 773fb8104..0f8c606a1 100644 --- a/moon/apps/web/pages/[org]/rust/rust-ecosystem/crate-info/[crateName]/index.tsx +++ b/moon/apps/web/pages/[org]/rust/rust-ecosystem/crate-info/[crateName]/index.tsx @@ -146,7 +146,7 @@ const CratePage = () => {