diff --git a/yunkes/src/style.css b/yunkes/src/style.css index 85d8409..5e07d79 100644 --- a/yunkes/src/style.css +++ b/yunkes/src/style.css @@ -336,9 +336,11 @@ a { .yk-main > * { animation: yk-rise 0.32s cubic-bezier(0.22, 0.8, 0.36, 1) both; } +/* 注意:不能用 transform——结束后残留的 transform 值会让 position:fixed 的 +抽屉改成相对动画元素定位,被列表卡片裁半截(2026-08-22 实测);纯 opacity 无此副作用 */ @keyframes yk-rise { - from { opacity: 0; transform: translateY(6px); } - to { opacity: 1; transform: translateY(0); } + from { opacity: 0; } + to { opacity: 1; } } /* ── 卡片 ── */