Skip to content

Commit 6ae73db

Browse files
committed
Improvements to the Create Override modal
1 parent ec640b6 commit 6ae73db

File tree

1 file changed

+4
-4
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.prompts.$promptSlug

1 file changed

+4
-4
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.prompts.$promptSlug/route.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ function OverrideDialog({
853853

854854
return (
855855
<Dialog open={open} onOpenChange={onOpenChange}>
856-
<DialogContent className="flex h-[85vh] max-h-[85vh] flex-col !gap-0 overflow-hidden px-0 pt-0 md:max-w-4xl lg:max-w-6xl">
856+
<DialogContent className="flex h-[85vh] max-h-[85vh] flex-col !gap-0 overflow-hidden pl-0 pr-3 pt-0 md:max-w-4xl lg:max-w-6xl">
857857
<DialogHeader className="px-4 py-2.5">
858858
{isEditingOverride ? "Edit override" : "Create override"}
859859
</DialogHeader>
@@ -863,7 +863,7 @@ function OverrideDialog({
863863
className="-mx-3 w-auto flex-1 border-b border-t border-grid-dimmed"
864864
>
865865
{/* Editor */}
866-
<ResizablePanel id="override-editor" min="300px">
866+
<ResizablePanel id="override-editor" min="300px" className="bg-[#121317]">
867867
<TextEditor
868868
className="h-full"
869869
autoFocus
@@ -959,9 +959,9 @@ function OverrideDialog({
959959
</ResizablePanelGroup>
960960

961961
{/* Footer */}
962-
<div className="flex items-center justify-between gap-2 px-4 pt-3">
962+
<div className="flex items-center justify-between gap-2 pl-4 pr-2 pt-3">
963963
<DialogClose asChild>
964-
<Button variant="tertiary/medium">Cancel</Button>
964+
<Button variant="secondary/medium">Cancel</Button>
965965
</DialogClose>
966966
<Button
967967
variant="primary/medium"

0 commit comments

Comments
 (0)