|
|
@@ -11,7 +11,6 @@ import {
|
|
|
} from 'reactstrap';
|
|
|
import { debounce } from 'throttle-debounce';
|
|
|
|
|
|
-
|
|
|
import { toastError } from '~/client/util/apiNotification';
|
|
|
import { useCurrentUser, useIsSearchServiceReachable } from '~/stores/context';
|
|
|
import { usePageCreateModal } from '~/stores/modal';
|
|
|
@@ -19,6 +18,8 @@ import { EditorMode, useEditorMode } from '~/stores/ui';
|
|
|
|
|
|
import PagePathAutoComplete from './PagePathAutoComplete';
|
|
|
|
|
|
+import styles from './PageCreateModal.module.scss';
|
|
|
+
|
|
|
const {
|
|
|
userPageRoot, isCreatablePage, generateEditorPath, isUsersHomePage,
|
|
|
} = pagePathUtils;
|
|
|
@@ -315,7 +316,7 @@ const PageCreateModal = () => {
|
|
|
isOpen={isOpened}
|
|
|
toggle={() => closeCreateModal()}
|
|
|
data-testid="page-create-modal"
|
|
|
- className="grw-create-page"
|
|
|
+ className={`grw-create-page ${styles['grw-create-page']}`}
|
|
|
autoFocus={false}
|
|
|
>
|
|
|
<ModalHeader tag="h4" toggle={() => closeCreateModal()} className="bg-primary text-light">
|