diff --git a/frontend/app/globals.css b/frontend/app/globals.css index 2cc7cc8..0d36c7e 100644 --- a/frontend/app/globals.css +++ b/frontend/app/globals.css @@ -2190,16 +2190,3 @@ html.dark .prose-content .shiki span { transform: translateY(0); outline: none; } - -/* 阅读进度条 */ -.reading-progress { - position: fixed; - top: 0; - left: 0; - right: 0; - height: 3px; - z-index: 60; - background: var(--accent); - transform-origin: 0 50%; - pointer-events: none; -} diff --git a/frontend/app/post/[id]/page.tsx b/frontend/app/post/[id]/page.tsx index 251ba31..5f3bc0b 100644 --- a/frontend/app/post/[id]/page.tsx +++ b/frontend/app/post/[id]/page.tsx @@ -27,7 +27,6 @@ import { getMeCached } from "@/lib/serverData"; import CommentSection from "@/components/CommentSection"; import PostActions from "@/components/PostActions"; import LikeButton from "@/components/LikeButton"; -import ReadingProgress from "@/components/ReadingProgress"; import PostToc, { type TocItem } from "@/components/PostToc"; import MobilePostBar from "@/components/MobilePostBar"; import Avatar from "@/components/Avatar"; @@ -454,7 +453,6 @@ export default async function PostDetailPage({ params, searchParams }: PageProps return ( <> -