Skip to content

Commit

Permalink
Use medium modal variant and make it top aligned
Browse files Browse the repository at this point in the history
Footer is left aligned by default, no need to specify it.
  • Loading branch information
KKoukiou committed Mar 25, 2021
1 parent d9c6910 commit a715b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/changeRemoteModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export const ChangeRemoteModal = ({ setIsModalOpen, isModalOpen, remotesList, cu

return (
<Modal title={_("Change Repository")}
width='50%'
position="top"
variant="medium"
appendTo={document.body}
isOpen={isModalOpen}
onClose={() => setIsModalOpen(false)}
isFooterLeftAligned
footer={footer}>
<>
{error && <Alert variant="danger" isInline title={error} />}
Expand Down

0 comments on commit a715b9e

Please sign in to comment.