|
|
@@ -4,7 +4,7 @@ import React, {
|
|
|
|
|
|
import { Origin } from '@growi/core';
|
|
|
import { pagePathUtils, pathUtils } from '@growi/core/dist/utils';
|
|
|
-import { format } from 'date-fns';
|
|
|
+import { format } from 'date-fns/format';
|
|
|
import { useTranslation } from 'next-i18next';
|
|
|
import {
|
|
|
Modal, ModalHeader, ModalBody, UncontrolledButtonDropdown, DropdownToggle, DropdownMenu, DropdownItem,
|
|
|
@@ -136,7 +136,7 @@ const PageCreateModal: React.FC = () => {
|
|
|
return (
|
|
|
<div className="row">
|
|
|
<fieldset className="col-12 mb-4">
|
|
|
- <h3 className="grw-modal-head pb-2">{t('create_page_dropdown.todays.desc', { ns: 'commons' })}</h3>
|
|
|
+ <h3 className="pb-2">{t('create_page_dropdown.todays.desc', { ns: 'commons' })}</h3>
|
|
|
|
|
|
<div className="d-sm-flex align-items-center justify-items-between">
|
|
|
|
|
|
@@ -181,7 +181,7 @@ const PageCreateModal: React.FC = () => {
|
|
|
return (
|
|
|
<div className="row" data-testid="row-create-page-under-below">
|
|
|
<fieldset className="col-12 mb-4">
|
|
|
- <h3 className="grw-modal-head pb-2">{t('Create under')}</h3>
|
|
|
+ <h3 className="pb-2">{t('Create under')}</h3>
|
|
|
|
|
|
<div className="d-sm-flex align-items-center justify-items-between">
|
|
|
<div className="flex-fill">
|
|
|
@@ -239,7 +239,7 @@ const PageCreateModal: React.FC = () => {
|
|
|
<div className="row">
|
|
|
<fieldset className="col-12">
|
|
|
|
|
|
- <h3 className="grw-modal-head pb-2">
|
|
|
+ <h3 className="pb-2">
|
|
|
{t('template.modal_label.Create template under')}<br />
|
|
|
<code className="h6" data-testid="grw-page-create-modal-path-name">{pathname}</code>
|
|
|
</h3>
|