mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-09 00:16:23 +08:00
fix(desktop): speed up ad marquee text
This commit is contained in:
@@ -51,7 +51,7 @@ function OverflowText({ children, className }: OverflowTextProps) {
|
|||||||
|
|
||||||
return <div ref={container} className={styles.menuOverflow}>
|
return <div ref={container} className={styles.menuOverflow}>
|
||||||
{overflowing
|
{overflowing
|
||||||
? <Marquee className={styles.menuMarquee} repeat loop={0} speed={4} gap={24}>
|
? <Marquee className={styles.menuMarquee} repeat loop={0} speed={12} gap={24}>
|
||||||
<span ref={text} className={className}>{children}</span>
|
<span ref={text} className={className}>{children}</span>
|
||||||
</Marquee>
|
</Marquee>
|
||||||
: <span ref={text} className={className}>{children}</span>}
|
: <span ref={text} className={className}>{children}</span>}
|
||||||
|
|||||||
Reference in New Issue
Block a user