Cap max height on template function dialog

This commit is contained in:
Gregory Schier committed 2025-11-19 09:39:43 -08:00
1 parent 474e761eb7
commit 17b6c945e6
2 files changed
+2 -2

No files matched your search

+1 -1
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,
+1 -1
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}