Skip to content

Commit 4ab4cdf

Browse files
authored
fix(mobile): keep preview count badges inside the working pill (pingdotgg#18449)
1 parent 52f9046 commit 4ab4cdf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/mobile/src/features/browser/browser-preview-button.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function BrowserPreviewButton(props: {
2828
{props.count === 1 ? "One tab open" : `${props.count} tabs open`}
2929
</AppText>
3030
) : props.count > 1 ? (
31-
<View className="absolute right-0.5 top-0.5 min-w-4 items-center rounded-full bg-primary px-1">
31+
<View className="absolute right-1.5 top-1.5 min-w-4 items-center rounded-full bg-primary px-1">
3232
<AppText className="text-2xs font-t3-bold text-primary-foreground">{props.count}</AppText>
3333
</View>
3434
) : null}

‎apps/mobile/src/features/devices/device-preview-button.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function DevicePreviewButton(props: {
3232
{props.count === 1 ? "One device open" : `${props.count} devices open`}
3333
</AppText>
3434
) : props.count > 1 ? (
35-
<View className="absolute right-0.5 top-0.5 min-w-4 items-center rounded-full bg-primary px-1">
35+
<View className="absolute right-1.5 top-1.5 min-w-4 items-center rounded-full bg-primary px-1">
3636
<AppText className="text-2xs font-t3-bold text-primary-foreground">{props.count}</AppText>
3737
</View>
3838
) : null}

0 commit comments

Comments
 (0)