Skip to content

Commit

Permalink
fix: Modify RoundEndModal style
Browse files Browse the repository at this point in the history
- Change win/loss animation to z-index 999
  • Loading branch information
rhino-ty committed Dec 5, 2024
1 parent 698f7c4 commit 2994eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/modal/RoundEndModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const RoundEndModal = () => {
autoplay
loop={false}
className={cn(
'absolute left-1/2 top-1/2 z-50 h-screen w-full -translate-x-1/2 -translate-y-1/2 transition-opacity duration-500',
'absolute left-1/2 top-1/2 z-[999] h-screen w-full -translate-x-1/2 -translate-y-1/2 transition-opacity duration-500',
isAnimationFading && 'opacity-0',
)}
/>
Expand All @@ -91,7 +91,7 @@ const RoundEndModal = () => {
autoplay
loop
className={cn(
'absolute left-1/2 top-[60%] z-50 h-[50vh] w-full -translate-x-1/2 -translate-y-1/2 opacity-70 transition-opacity duration-500',
'absolute left-1/2 top-[60%] z-[999] h-[50vh] w-full -translate-x-1/2 -translate-y-1/2 opacity-70 transition-opacity duration-500',
isAnimationFading && 'opacity-0',
)}
/>
Expand Down

0 comments on commit 2994eb2

Please sign in to comment.