feat: 쇼츠 줄 제목 없앰 — 세로 카드만 히어로 아래에

This commit is contained in:
minaChoi committed 2026-10-26 15:10:48 +09:00
1 parent fa99ea4f08
commit d716cf070b
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -4,7 +4,7 @@ import { Link, useNavigate, useParams } from 'react-router'
import { listShortsOptions } from '../api/client/@tanstack/react-query.gen'
import type { ShortItem } from '../api/client'
import { cx } from '../lib/utils'
import { Rail, Sec, Skel, SkelRail, TAP44 } from './ui'
import { Rail, Skel, SkelRail, TAP44 } from './ui'
// 유튜브는 플레이어가 200×200 이상이어야 해서, 카드 안 미리보기는 200px 너비로 띄우고 줄여 보인다.
// 위 로고·아래 제목 줄이 작은 카드에서 겹쳐 보이지 않게 가운데를 1.4배로 키워 위아래를 잘라 낸다
@@ -69,7 +69,6 @@ export function ShortsRail() {
if (q.isPending) {
return (
<section aria-hidden="true">
<Sec title="날씨각 쇼츠" />
<SkelRail>
{[0, 1, 2, 3].map((i) => (
<Skel key={i} className="aspect-[9/16] w-[120px] rounded-xl" />
@@ -82,7 +81,6 @@ export function ShortsRail() {
return (
<section ref={ref} aria-label="날씨각 쇼츠">
<Sec title="날씨각 쇼츠" />
<Rail label="쇼츠 목록">
{items.map((s, i) => (
<ShortCard key={s.id} s={s} playing={i === 0 && visible} />