Skip to content

Commit

Permalink
fix: fix scroll issues for the connection form
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Oct 29, 2023
1 parent f687282 commit 70eda18
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/Connections/ConnectionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,12 @@ export default function ConnectionForm({
});
}}
>
<Form>
<Form className="flex flex-col flex-1 overflow-y-auto">
<div
className={clsx(
"flex flex-col h-full my-2 overflow-y-auto",
"flex flex-col flex-1 my-2 overflow-y-auto",
className
)}
style={{ maxHeight: "calc(65vh)" }}
{...props}
>
<div className={clsx("flex flex-col px-2 mb-2")}>
Expand Down Expand Up @@ -280,7 +279,7 @@ export default function ConnectionForm({
title={
connectionType ? (
<div
className="flex flex-row items-center space-x-2"
className="flex flex-row items-center gap-2 overflow-y-auto"
key={connectionType.title}
>
{typeof connectionType?.icon === "string" ? (
Expand Down

0 comments on commit 70eda18

Please sign in to comment.