From ab463fed59253151f7c44aee2bc1708d4e2d07a3 Mon Sep 17 00:00:00 2001 From: mnsinri Date: Tue, 5 Sep 2023 22:39:42 +0900 Subject: [PATCH] fix: mobile is *it --- src/components/card/StreamingCard.tsx | 2 +- src/components/marquee/MarqueeForMobile.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/card/StreamingCard.tsx b/src/components/card/StreamingCard.tsx index 45f37c7..26f5a62 100644 --- a/src/components/card/StreamingCard.tsx +++ b/src/components/card/StreamingCard.tsx @@ -50,7 +50,7 @@ export const StreamingCard = React.memo( name={name} icon={icon} isExpand={config.isExpandAlways || expand || hovered} - hovered={hovered} + hovered={!isMobile && hovered} /> diff --git a/src/components/marquee/MarqueeForMobile.tsx b/src/components/marquee/MarqueeForMobile.tsx index 73444c7..f73954f 100644 --- a/src/components/marquee/MarqueeForMobile.tsx +++ b/src/components/marquee/MarqueeForMobile.tsx @@ -55,7 +55,7 @@ export const MarqueeForMobile: React.FC = ({ const reset = () => { animation.start({ - to: { + from: { x: "0%", }, immediate: true,