diff --git a/src/fileActions.jsx b/src/fileActions.jsx
index f9eac7b33..f4d92b61c 100644
--- a/src/fileActions.jsx
+++ b/src/fileActions.jsx
@@ -334,6 +334,7 @@ export const CreateLinkModal = ({ currentPath, selected }) => {
     return (
         <Modal
           position="top"
+          variant={ModalVariant.medium}
           title={_("New link")}
           isOpen
           onClose={Dialogs.close}