Cap max height on template function dialog

This commit is contained in:
Gregory Schier
2025-11-19 09:39:43 -08:00
parent 474e761eb7
commit 17b6c945e6
2 changed files with 2 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ export function Editor({
showDialog({
id: 'template-function-' + Math.random(), // Allow multiple at once
size: 'md',
className: 'h-[90vh]',
className: 'h-[90vh] max-h-[60rem]',
noPadding: true,
title: <InlineCode>{fn.name}()</InlineCode>,
description: fn.description,

View File

@@ -45,7 +45,7 @@ export async function editEnvironment(
id: 'environment-editor',
noPadding: true,
size: 'lg',
className: 'h-[90vh]',
className: 'h-[90vh] max-h-[60rem]',
render: () => (
<EnvironmentEditDialog
initialEnvironmentId={environment?.id ?? null}