Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Revert "fix: prevent new workspace page from scrolling past the botto…
…m of the screen (#19705)"

This reverts commit a78d65c.
  • Loading branch information
aslilac committed Sep 11, 2025
commit dfb4bdeb24f8bf553796db6dba9daf53ceeed08c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export const CreateWorkspacePageViewExperimental: FC<
});

return (
<div className="flex flex-col flex-1 min-h-0 pb-12">
<>
<div className="sticky top-5 ml-10">
<button
onClick={onCancel}
Expand All @@ -351,7 +351,7 @@ export const CreateWorkspacePageViewExperimental: FC<
Go back
</button>
</div>
<div className="flex flex-col flex-1 min-h-0 gap-6 max-w-screen-md mx-auto">
<div className="flex flex-col gap-6 max-w-screen-md mx-auto">
<header className="flex flex-col items-start gap-3 mt-10">
<div className="flex items-center gap-2 justify-between w-full">
<span className="flex items-center gap-2">
Expand Down Expand Up @@ -412,7 +412,7 @@ export const CreateWorkspacePageViewExperimental: FC<
<form
onSubmit={form.handleSubmit}
aria-label="Create workspace form"
className="relative flex flex-col flex-1 min-h-0 overflow-y-auto gap-10 w-full border border-border-default border-solid rounded-lg p-6"
className="flex flex-col gap-10 w-full border border-border-default border-solid rounded-lg p-6"
>
{Boolean(error) && <ErrorAlert error={error} />}

Expand Down Expand Up @@ -683,6 +683,6 @@ export const CreateWorkspacePageViewExperimental: FC<
</div>
</form>
</div>
</div>
</>
);
};