Skip to content

Commit

Permalink
fix: align-items center only when editing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahong75 committed Sep 15, 2023
1 parent 00d78ae commit 12d9b93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Modals/CardModal/CardModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ const CardModal = ({
<ModalContent rounded={14}>
<ModalCloseButton right={2} top={0} m={4} />
<ModalHeader mt={10} mx={6}>
<Flex justifyContent="space-between" align="center" gap={4}>
<Flex
justifyContent="space-between"
align={editing ? "center" : "start"}
gap={4}
>
{editing ? (
<InputControl name="title" size="lg"></InputControl>
) : (
Expand Down

0 comments on commit 12d9b93

Please sign in to comment.