fix: update StatusBadgeMini to shrink on title cards (and remove ring) (#3210)

This commit is contained in:
Ryan Cohen
2023-01-05 12:09:08 +09:00
committed by GitHub
parent 421029ebab
commit 042a1a950f
2 changed files with 29 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ const TitleCard = ({
/>
<div className="absolute left-0 right-0 flex items-center justify-between p-2">
<div
className={`pointer-events-none z-40 rounded-full border bg-opacity-80 shadow ${
className={`pointer-events-none z-40 rounded-full border bg-opacity-80 shadow-md ${
mediaType === 'movie'
? 'border-blue-500 bg-blue-600'
: 'border-purple-600 bg-purple-600'
@@ -142,10 +142,11 @@ const TitleCard = ({
</div>
</div>
{currentStatus && (
<div className="pointer-events-none z-40">
<div className="pointer-events-none z-40 flex items-center">
<StatusBadgeMini
status={currentStatus}
inProgress={inProgress}
shrink
/>
</div>
)}