Skip to content

Commit 48bbfa3

Browse files
fix: template editor design
1 parent d7f5f56 commit 48bbfa3

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

dashboard/src/components/UpdateEmailTemplateModal.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ const UpdateEmailTemplate = ({
290290
setIsDynamicVariableInfoOpen(!isDynamicVariableInfoOpen)
291291
}
292292
borderRadius="5"
293-
marginY={5}
293+
marginBottom={5}
294294
cursor="pointer"
295295
fontSize="sm"
296296
>
@@ -385,7 +385,7 @@ const UpdateEmailTemplate = ({
385385
width="100%"
386386
justifyContent="start"
387387
alignItems="center"
388-
marginBottom="5%"
388+
marginBottom="2%"
389389
>
390390
<Flex flex="1">Subject</Flex>
391391
<Flex flex="3">
@@ -416,7 +416,15 @@ const UpdateEmailTemplate = ({
416416
>
417417
Template Body
418418
</Flex>
419-
<EmailEditor ref={emailEditorRef} onReady={onReady} />
419+
<Flex
420+
width="100%"
421+
justifyContent="flex-start"
422+
alignItems="center"
423+
border="1px solid"
424+
borderColor="gray.200"
425+
>
426+
<EmailEditor ref={emailEditorRef} onReady={onReady} />
427+
</Flex>
420428
</Flex>
421429
</ModalBody>
422430
<ModalFooter>

0 commit comments

Comments
 (0)