Skip to content

Commit 81a09ea

Browse files
committed
fix(mobile): scope pi status background to its segment
1 parent 904c4ef commit 81a09ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/mobile/src/features/threads/floating-working-control.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export function FloatingWorkingControl(props: {
184184
props.status !== null ? (
185185
<View
186186
pointerEvents={statusInteractive ? "box-none" : "none"}
187-
className="h-11 items-center justify-center"
187+
className={`h-11 items-center justify-center ${extensionOnly ? "bg-black" : ""}`}
188188
>
189189
<Animated.View className="h-11" style={capsuleSizerStyle} />
190190
<View
@@ -342,7 +342,7 @@ export function FloatingWorkingControl(props: {
342342
<View pointerEvents="box-none" className="flex-row items-center gap-4">
343343
<Animated.View
344344
pointerEvents={capsuleInteractive ? "box-none" : "none"}
345-
className={`h-11 items-center justify-center overflow-hidden rounded-full border border-border shadow-md shadow-black/10 ${extensionOnly ? "bg-black" : "bg-glass-fallback"}`}
345+
className="h-11 items-center justify-center overflow-hidden rounded-full border border-border bg-glass-fallback shadow-md shadow-black/10"
346346
style={capsuleStyle}
347347
>
348348
{capsuleContent}

0 commit comments

Comments
 (0)