|
@@ -9,6 +9,12 @@ import { Sidebar } from '../Sidebar';
|
|
|
|
|
|
|
|
import { RawLayout } from './RawLayout';
|
|
import { RawLayout } from './RawLayout';
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+import styles from './BasicLayout.module.scss';
|
|
|
|
|
+
|
|
|
|
|
+const moduleClass = styles['grw-basic-layout'] ?? '';
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
const AlertSiteUrlUndefined = dynamic(() => import('../AlertSiteUrlUndefined').then(mod => mod.AlertSiteUrlUndefined), { ssr: false });
|
|
const AlertSiteUrlUndefined = dynamic(() => import('../AlertSiteUrlUndefined').then(mod => mod.AlertSiteUrlUndefined), { ssr: false });
|
|
|
const DeleteAttachmentModal = dynamic(() => import('../PageAttachment/DeleteAttachmentModal').then(mod => mod.DeleteAttachmentModal), { ssr: false });
|
|
const DeleteAttachmentModal = dynamic(() => import('../PageAttachment/DeleteAttachmentModal').then(mod => mod.DeleteAttachmentModal), { ssr: false });
|
|
|
const HotkeysManager = dynamic(() => import('../Hotkeys/HotkeysManager'), { ssr: false });
|
|
const HotkeysManager = dynamic(() => import('../Hotkeys/HotkeysManager'), { ssr: false });
|
|
@@ -35,7 +41,7 @@ type Props = {
|
|
|
|
|
|
|
|
export const BasicLayout = ({ children, className }: Props): JSX.Element => {
|
|
export const BasicLayout = ({ children, className }: Props): JSX.Element => {
|
|
|
return (
|
|
return (
|
|
|
- <RawLayout className={`${className ?? ''}`}>
|
|
|
|
|
|
|
+ <RawLayout className={`${moduleClass} ${className ?? ''}`}>
|
|
|
<DndProvider backend={HTML5Backend}>
|
|
<DndProvider backend={HTML5Backend}>
|
|
|
|
|
|
|
|
<div className="page-wrapper flex-row">
|
|
<div className="page-wrapper flex-row">
|