Skip to content

Commit 1d65841

Browse files
authored
Chore/snippet folder nudges (supabase#28889)
SQL Editor nudges
1 parent 1a193e5 commit 1d65841

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

apps/studio/components/interfaces/SQLEditor/MoveQueryModal.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,12 @@ export const MoveQueryModal = ({ visible, snippets = [], onClose }: MoveQueryMod
205205
</div>
206206
</Button>
207207
</PopoverTrigger_Shadcn_>
208-
<PopoverContent_Shadcn_ className="p-0 w-80" side="bottom" align="start">
208+
<PopoverContent_Shadcn_
209+
className="p-0"
210+
side="bottom"
211+
align="start"
212+
sameWidthAsTrigger
213+
>
209214
<Command_Shadcn_>
210215
<CommandInput_Shadcn_ placeholder="Find folder..." />
211216
<CommandList_Shadcn_>

packages/ui/src/components/TreeView/TreeView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const TreeViewItem = forwardRef<
158158
'transition-colors',
159159
'fill-foreground-muted',
160160
'group-aria-selected:fill-foreground',
161-
'w-5 h-5',
161+
'w-5 h-5 shrink-0',
162162
'-ml-0.5'
163163
)}
164164
size={16}

0 commit comments

Comments
 (0)