Skip to content

Commit f266ae0

Browse files
authored
Merge pull request samqin123#51 from OuOumm/main
fix(组件样式): 修复DemoCard和VideoCard的背景透明度样式
2 parents c789db0 + d7a9539 commit f266ae0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/DemoCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const DemoCard = ({ id, title, poster, rate, type }: DemoCardProps) => {
5858

5959
return (
6060
<div
61-
className='group relative w-full rounded-lg bg-transparen flex flex-col cursor-pointer transition-all duration-300 ease-in-out'
61+
className='group relative w-full rounded-lg bg-transparent flex flex-col cursor-pointer transition-all duration-300 ease-in-out'
6262
onClick={handleClick}
6363
>
6464
{/* 海报图片区域 */}

src/components/VideoCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export default function VideoCard({
158158
)}${year ? `&year=${year}` : ''}${from ? `&from=${from}` : ''}`}
159159
>
160160
<div
161-
className={`group relative w-full rounded-lg bg-transparent/0 flex flex-col cursor-pointer transition-all duration-300 ease-in-out ${
161+
className={`group relative w-full rounded-lg bg-transparent flex flex-col cursor-pointer transition-all duration-300 ease-in-out ${
162162
isDeleting ? 'opacity-0 scale-90' : ''
163163
}`}
164164
>

0 commit comments

Comments
 (0)