Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Chore/snippet folder nudges (#28889)

Terry Sutton1d6584154247
diff --git a/apps/studio/components/interfaces/SQLEditor/MoveQueryModal.tsx b/apps/studio/components/interfaces/SQLEditor/MoveQueryModal.tsx
index f89c9ca15c0..de31c53a70c 100644
--- a/apps/studio/components/interfaces/SQLEditor/MoveQueryModal.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/MoveQueryModal.tsx
@@ -205,7 +205,12 @@ export const MoveQueryModal = ({ visible, snippets = [], onClose }: MoveQueryMod
</div>
</Button>
</PopoverTrigger_Shadcn_>
- <PopoverContent_Shadcn_ className="p-0 w-80" side="bottom" align="start">
+ <PopoverContent_Shadcn_
+ className="p-0"
+ side="bottom"
+ align="start"
+ sameWidthAsTrigger
+ >
<Command_Shadcn_>
<CommandInput_Shadcn_ placeholder="Find folder..." />
<CommandList_Shadcn_>
diff --git a/packages/ui/src/components/TreeView/TreeView.tsx b/packages/ui/src/components/TreeView/TreeView.tsx
index 79e8b847180..ef73a3a7448 100644
--- a/packages/ui/src/components/TreeView/TreeView.tsx
+++ b/packages/ui/src/components/TreeView/TreeView.tsx
@@ -158,7 +158,7 @@ const TreeViewItem = forwardRef<
'transition-colors',
'fill-foreground-muted',
'group-aria-selected:fill-foreground',
- 'w-5 h-5',
+ 'w-5 h-5 shrink-0',
'-ml-0.5'
)}
size={16}