fix(mobile): keep preview count badges inside the working pill (#18449)

This commit is contained in:
Ryan authored and GitHub committed 2026-10-12 03:36:51 +00:00
1 parent 52f9046260
commit 4ab4cdf452
2 files changed
+2 -2

No files matched your search

@@ -28,7 +28,7 @@ export function BrowserPreviewButton(props: {
{props.count === 1 ? "One tab open" : `${props.count} tabs open`}
</AppText>
) : props.count > 1 ? (
<View className="absolute right-0.5 top-0.5 min-w-4 items-center rounded-full bg-primary px-1">
<View className="absolute right-1.5 top-1.5 min-w-4 items-center rounded-full bg-primary px-1">
<AppText className="text-2xs font-t3-bold text-primary-foreground">{props.count}</AppText>
</View>
) : null}
@@ -32,7 +32,7 @@ export function DevicePreviewButton(props: {
{props.count === 1 ? "One device open" : `${props.count} devices open`}
</AppText>
) : props.count > 1 ? (
<View className="absolute right-0.5 top-0.5 min-w-4 items-center rounded-full bg-primary px-1">
<View className="absolute right-1.5 top-1.5 min-w-4 items-center rounded-full bg-primary px-1">
<AppText className="text-2xs font-t3-bold text-primary-foreground">{props.count}</AppText>
</View>
) : null}