|
@@ -16,7 +16,8 @@ import { usePagePathRenameHandler } from '../PageEditor/page-path-rename-utils';
|
|
|
|
|
|
|
|
import styles from './PageTitleHeader.module.scss';
|
|
import styles from './PageTitleHeader.module.scss';
|
|
|
|
|
|
|
|
-const moduleClass = styles['page-title-header'];
|
|
|
|
|
|
|
+const moduleClass = styles['page-title-header'] ?? '';
|
|
|
|
|
+const borderColorClass = styles['page-title-header-border-color'] ?? '';
|
|
|
|
|
|
|
|
type Props = {
|
|
type Props = {
|
|
|
currentPage: IPagePopulatedToShowRevision,
|
|
currentPage: IPagePopulatedToShowRevision,
|
|
@@ -86,7 +87,13 @@ export const PageTitleHeader: FC<Props> = (props) => {
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
) }
|
|
) }
|
|
|
- <h1 className={`mb-0 fs-4 ${isRenameInputShown ? 'invisible' : ''} text-truncate`} onClick={onClickPageTitle}>
|
|
|
|
|
|
|
+ <h1
|
|
|
|
|
+ className={`mb-0 fs-4
|
|
|
|
|
+ ${isRenameInputShown ? 'invisible' : ''} text-truncate
|
|
|
|
|
+ border rounded-2 ${borderColorClass}
|
|
|
|
|
+ `}
|
|
|
|
|
+ onClick={onClickPageTitle}
|
|
|
|
|
+ >
|
|
|
{pageTitle}
|
|
{pageTitle}
|
|
|
</h1>
|
|
</h1>
|
|
|
</div>
|
|
</div>
|