fix(mobile): keep preview count badges inside the working pill (#18449)
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user