Skip to content

Commit 976eb02

Browse files
authored
fix(web): new project options scroll above the footer (pingdotgg#17064)
1 parent 97986f7 commit 976eb02

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/CommandPalette.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3297,7 +3297,7 @@ function OpenCommandPaletteDialog(props: {
32973297
</div>
32983298
) : null}
32993299
{remoteProjectContext ? (
3300-
<div className="p-2 pb-0">
3300+
<div className="shrink-0 p-2 pb-0">
33013301
<div className="px-2 py-1.5 font-medium text-muted-foreground text-xs">Repository</div>
33023302
<div className="flex min-h-8 items-center gap-2 rounded-sm px-2 py-1.5">
33033303
{remoteProjectContext.icon}

‎apps/web/src/components/CommandPaletteContent.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function CommandPaletteContent({
5050
? "flex min-h-0 flex-1 flex-col"
5151
: panelSize === "tall-list"
5252
? "max-h-[min(34rem,76vh)]"
53-
: "max-h-[min(28rem,70vh)]"
53+
: "flex max-h-[min(28rem,70vh)] min-h-0 flex-col"
5454
}
5555
>
5656
{children}

‎apps/web/src/components/ui/command.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function CommandListVirtualized({
131131
}: React.ComponentProps<typeof AutocompleteListVirtualized>) {
132132
return (
133133
<AutocompleteListVirtualized
134-
className={cn("flex max-h-[inherit] flex-col", className)}
134+
className={cn("flex max-h-[inherit] min-h-0 flex-col", className)}
135135
data-slot="command-list"
136136
{...props}
137137
/>

0 commit comments

Comments
 (0)