Skip to content

Commit 3bfb767

Browse files
committed
fix(web): animated label stays beside the icon while shrinking
1 parent 580472f commit 3bfb767

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/AnimatedWidth.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function AnimatedWidth({
3131
)}
3232
style={width === null ? undefined : { width }}
3333
>
34-
<span ref={contentRef} className="inline-block w-max whitespace-nowrap">
34+
<span ref={contentRef} className="block w-max whitespace-nowrap">
3535
{children}
3636
</span>
3737
</span>

0 commit comments

Comments
 (0)