Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: number ticker width

Dillion Verma16f49ebdea2c
diff --git a/registry/components/magicui/number-ticker.tsx b/registry/components/magicui/number-ticker.tsx
index 407aac55..e66f3206 100644
--- a/registry/components/magicui/number-ticker.tsx
+++ b/registry/components/magicui/number-ticker.tsx
@@ -39,6 +39,9 @@ export default function NumberTicker({
);
return (
- <span className={`w-full text-right tabular-nums ${className}`} ref={ref} />
+ <span
+ className={`inline-block w-full text-right tabular-nums ${className}`}
+ ref={ref}
+ />
);
}