The best way to control Claude Code, Codex and more from any computer or phone
fix(mobile): add breathing room between the git progress overlay and the app bar (#6587)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Pavlo Trinko committed
Aug 14, 2026 at 10:25 UTC
8f9ab0845d8e034bf49b28eb4d6abbb14fce597d
2 files changed
+10
-1
apps/mobile/src/features/threads/GitActionProgressOverlay.tsx
+3
-1
@@ -7,11 +7,13 @@ import Animated, { FadeIn, FadeOut, LinearTransition } from "react-native-reanim
7
import { useSafeAreaInsets } from "react-native-safe-area-context";
8
9
import { AppText as Text } from "../../components/AppText";
10
+import { APP_BAR_HEIGHT } from "../../lib/layoutMetrics";
11
import { tryOpenExternalUrl } from "../../lib/openExternalUrl";
12
import { useThemeColor } from "../../lib/useThemeColor";
13
import type { GitActionProgress } from "../../state/use-vcs-action-state";
14
15
const OVERLAY_LAYOUT_TRANSITION = LinearTransition.duration(220);
16
+const OVERLAY_TOP_GAP = 8;
17
const AnimatedLiquidGlassView = Animated.createAnimatedComponent(LiquidGlassView);
18
19
export function GitActionProgressOverlay(props: {
@@ -52,7 +54,7 @@ export function GitActionProgressOverlay(props: {
54
entering={isLiquidGlassSupported ? undefined : FadeIn.duration(200)}
55
exiting={FadeOut.duration(150)}
56
className="absolute inset-x-3 z-[100]"
55
- style={{ top: insets.top + 48 }}
57
+ style={{ top: insets.top + APP_BAR_HEIGHT + OVERLAY_TOP_GAP }}
58
pointerEvents="box-none"
59
>
60
<Pressable onPress={handlePress}>
apps/mobile/src/lib/layoutMetrics.ts
+7
@@ -3,3 +3,10 @@ export const HOME_HORIZONTAL_INSET = 20;
3
4
/** Compensates for the tighter native sidebar title margin on iPad. */
5
export const IPAD_HOME_TITLE_OFFSET = 10;
6
+
7
+/**
8
+ * Height of the app's own header chrome below the safe-area inset, on every
9
+ * platform (matches the `min-h-12` AndroidScreenHeader). Distinct from the
10
+ * 44pt native iOS navigation bar.
11
+ */
12
+export const APP_BAR_HEIGHT = 48;