Skip to content

Commit 6d04443

Browse files
Adjust CodeEditor container height and save button margin on connections dialog (#1520)
<!-- Ensure the title clearly reflects what was changed. Provide a clear and concise description of the changes made. The PR should only contain the changes related to the issue, and no other unrelated changes. --> Fixes OPS-2910 <img width="814" height="672" alt="image" src="https://github.com/user-attachments/assets/830f91ce-b6b0-47b4-830b-744cb62b978a" /> based on current usage of json field, inside step settings it always uses input with mentions, so this change doesn't affect step settings
1 parent 8f230d9 commit 6d04443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-ui/src/app/features/builder/block-properties/auto-properties-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const selectFormComponentForProperty = ({
219219
disabled={disabled}
220220
></BuilderJsonEditorWrapper>
221221
) : (
222-
<div className="h-48">
222+
<div className="flex-1 h-[116px] border rounded-sm pr-4 pt-4">
223223
<CodeEditor
224224
value={field.value}
225225
readonly={disabled}

packages/react-ui/src/app/features/connections/components/create-edit-connection-dialog-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ const CreateEditConnectionDialogContent = ({
300300
/>
301301
)}
302302

303-
<DialogFooter className="mt-[60px]">
303+
<DialogFooter className="mt-5">
304304
<Button
305305
onClick={(e) => form.handleSubmit(() => mutate())(e)}
306306
loading={isPending}

0 commit comments

Comments
 (0)