Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): space folder picker label (#85915)

Dylan Martinc488f16911d0
diff --git a/products/desktop/packages/ui/src/features/folder-picker/FolderPicker.tsx b/products/desktop/packages/ui/src/features/folder-picker/FolderPicker.tsx
index ddb0b398b022..67849b72363b 100644
--- a/products/desktop/packages/ui/src/features/folder-picker/FolderPicker.tsx
+++ b/products/desktop/packages/ui/src/features/folder-picker/FolderPicker.tsx
@@ -30,7 +30,7 @@ import type { RegisteredFolder } from "@posthog/ui/features/folders/types";
import { useFolders } from "@posthog/ui/features/folders/useFolders";
import { toast } from "@posthog/ui/primitives/toast";
import { FIELD_TRIGGER_CLASS } from "@posthog/ui/styles/fieldTrigger";
-import { Flex, Text } from "@radix-ui/themes";
+import { Text } from "@radix-ui/themes";
import { useQueries } from "@tanstack/react-query";
import { type RefObject, useMemo, useState } from "react";
@@ -168,7 +168,7 @@ export function FolderPicker({
const fieldContent = (
<>
- <Flex align="center" gap="2" className="min-w-0 flex-1">
+ <div className="flex min-w-0 flex-1 items-center gap-2">
<FolderIcon size={16} className="shrink-0 text-(--gray-12)" />
<Text
className="min-w-0 max-w-full truncate text-left font-medium text-(--gray-12)"
@@ -176,7 +176,7 @@ export function FolderPicker({
>
{isOpening ? "Opening..." : displayValue || placeholder}
</Text>
- </Flex>
+ </div>
{isOpening ? (
<CircleNotch
size={14}