Skip to content

Commit dea7368

Browse files
committed
Fix hidden height on streaming workspace list
1 parent a1c11e2 commit dea7368

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/WorkspaceListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const WorkspaceListItemInner: React.FC<WorkspaceListItemProps> = ({
164164
title="Double-click to rename"
165165
>
166166
{canInterrupt ? (
167-
<Shimmer className="h-4 w-full truncate" colorClass="var(--color-foreground)">
167+
<Shimmer className="w-full truncate" colorClass="var(--color-foreground)">
168168
{displayName}
169169
</Shimmer>
170170
) : (

src/components/ai-elements/shimmer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const ShimmerComponent = ({
2929
<MotionComponent
3030
animate={{ backgroundPosition: "0% center" }}
3131
className={cn(
32-
"relative inline-block bg-[length:250%_100%,auto] bg-clip-text text-transparent",
32+
"relative bg-[length:250%_100%,auto] bg-clip-text text-transparent",
3333
"[--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--color-background),#0000_calc(50%+var(--spread)))] [background-repeat:no-repeat,padding-box]",
3434
className
3535
)}

0 commit comments

Comments
 (0)