fix: 밤 화면에서 쇼츠 카드 그림·영상이 남색 판에 가려지던 문제 — 카드 아래 그라데이션에 b-keep-bg

This commit is contained in:
minaChoi committed 2026-10-26 15:20:45 +09:00
1 parent 0db4b130f0
commit c1d62653a9
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ function ShortCard({ s, playing }: { s: ShortItem; playing: boolean }) {
style={{ width: PLAYER_W, height: (PLAYER_W * 16) / 9, transform: `translate(-50%, -50%) scale(${SCALE})` }}
/>
)}
<span className="absolute inset-0 bg-[linear-gradient(180deg,transparent_55%,rgba(0,0,0,.65))]" aria-hidden="true" />
<span className="b-keep-bg absolute inset-0 bg-[linear-gradient(180deg,transparent_55%,rgba(0,0,0,.65))]" aria-hidden="true" />
<span className="absolute inset-x-2 bottom-2 line-clamp-3 text-[12px] leading-[1.3] font-bold">{s.title}</span>
</Link>
)