chore: add undici as a dependency

This commit is contained in:
2025-11-29 21:26:22 +08:00
parent 823df2cbf6
commit edd0a85439
6 changed files with 2437 additions and 100 deletions
@@ -6,7 +6,7 @@ export const BackgroundCanvas = forwardRef<HTMLCanvasElement, BackgroundCanvasPr
return (
<canvas
ref={ref}
className="fixed inset-0 w-full h-full -z-10"
className="fixed inset-0 w-full h-full -z-10 scale-110"
style={{ filter: "blur(40px)" }}
/>
);
+1 -1
View File
@@ -123,7 +123,7 @@ export default async function AwemeDetail({ params }: { params: Promise<{ awemeI
const neighbors: { prev: { aweme_id: string } | null; next: { aweme_id: string } | null } = { prev: pickPrev, next: pickNext };
return (
<main className="min-h-screen w-full overflow-hidden">
<main className="min-h-screen w-full">
{/* 顶部条改为悬浮在媒体区域之上,避免 sticky 造成 Y 方向滚动条 */}
<div className="fixed left-3 top-3 z-30">
<BackButton