mirror of
https://github.com/langgenius/dify.git
synced 2026-11-11 05:41:09 +08:00
fix(billing): snap price width before rolling digits
This commit is contained in:
1 file changed
+1
-2
@@ -27,8 +27,7 @@ export function RollingPrice({ monthly, annual, isYearly }: RollingPriceProps) {
|
||||
key={place}
|
||||
className={cn(
|
||||
'flex h-lh justify-end overflow-hidden mask-[linear-gradient(to_bottom,transparent,black_16%,black_84%,transparent)]',
|
||||
'motion-safe:transition-[width,opacity] motion-safe:duration-300 motion-safe:ease-out',
|
||||
collapsed ? 'w-0 opacity-0' : 'w-[1ch] opacity-100',
|
||||
collapsed ? 'w-0' : 'w-[1ch]',
|
||||
)}
|
||||
>
|
||||
<span
|
||||
|
||||
Reference in new issue
Block a user