Bläddra i källkod

expandContainer is left

Taichi Masuyama 3 år sedan
förälder
incheckning
6557252610

+ 2 - 0
packages/app/src/pages/[[...path]].page.tsx

@@ -362,10 +362,12 @@ const Page: NextPage<Props> = (props: Props) => {
             </footer>
           )}
 
+          {/* TODO: move these components outside of BasicLayout */}
           <UnsavedAlertDialog />
           <DescendantsPageListModal />
           <DrawioModal />
           <HandsontableModal />
+
           {shouldRenderPutbackPageModal && <PutbackPageModal />}
         </div>
       </BasicLayout>

+ 1 - 5
packages/app/src/pages/_search.page.tsx

@@ -88,10 +88,6 @@ const SearchResultPage: NextPage<Props> = (props: Props) => {
   };
 
   const title = generateCustomTitle(props, 'GROWI');
-  const classNames: string[] = [];
-  // if (props.isContainerFluid) {
-  //   classNames.push('growi-layout-fluid');
-  // }
 
   return (
     <>
@@ -101,7 +97,7 @@ const SearchResultPage: NextPage<Props> = (props: Props) => {
 
       <DrawioViewerScript />
 
-      <SearchResultLayout className={classNames.join(' ')}>
+      <SearchResultLayout>
         <div id="search-page">
           <SearchPage />
         </div>

+ 1 - 2
packages/app/src/pages/tags.page.tsx

@@ -80,10 +80,9 @@ const TagPage: NextPage<CommonProps> = (props: Props) => {
   useRendererConfig(props.rendererConfig);
 
   const title = generateCustomTitle(props, 'GROWI');
-  const classNames: string[] = [];
 
   return (
-    <BasicLayout className={classNames.join(' ')}>
+    <BasicLayout>
       <Head>
         <title>{title}</title>
       </Head>