补commit:画布inline style修复(1a59f86遗漏了home-page)

工作区已有inline style修复且探针验证几何正确,但1a59f86只commit了
index.css清理,漏掉home-page。此commit补上画布div的inline style:
width=min(100vw,540px,calc(100vh*9/16)) + aspectRatio 9/16,背景层absolute inset-0。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
cchis
2026-06-29 14:03:56 +08:00
parent 4d2c686f03
commit 95a6f15564

View File

@@ -454,7 +454,7 @@ export function HomePage({
return (
<div className="relative h-full overflow-hidden bg-[#061124]">
<div className="home-canvas overflow-hidden" onPointerDownCapture={resetHomeIdleTimer}>
<div className="absolute overflow-hidden" style={{ top: 0, left: "50%", width: "min(100vw, 540px, calc(100vh * 9 / 16))", aspectRatio: "9 / 16", transform: "translateX(-50%)" }} onPointerDownCapture={resetHomeIdleTimer}>
<div
aria-hidden="true"
className="absolute inset-0 bg-[radial-gradient(circle_at_50%_18%,rgba(83,169,255,0.34),transparent_30%),linear-gradient(180deg,#18345f_0%,#071a33_48%,#030a17_100%)]"