Skip to content

Commit

Permalink
fix: style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed Jun 7, 2024
1 parent fb6099f commit 7df5676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/components/Modals/CopyAdFormModal/CopyAdFormModal.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.copy-ad-form-modal {
max-height: calc(100vh - 15rem);
width: 44rem;

& .floating-rate {
&__field {
flex-direction: column;
Expand Down Expand Up @@ -45,8 +47,4 @@
}
}
}

&__body {
width: 44rem;
}
}
2 changes: 1 addition & 1 deletion src/components/Modals/CopyAdFormModal/CopyAdFormModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const CopyAdFormModal = ({
<Modal.Header hideBorder hideCloseIcon>
<CopyAdFormHeader />
</Modal.Header>
<Modal.Body className='copy-ad-form-modal__body'>{children}</Modal.Body>
<Modal.Body>{children}</Modal.Body>
<Modal.Footer className='gap-[0.8rem]' hideBorder>
<CopyAdFormFooter isValid={isValid} onClickCancel={onClickCancel} onSubmit={onSubmit} />
</Modal.Footer>
Expand Down

0 comments on commit 7df5676

Please sign in to comment.