Explorar o código

fix PageViewLayout

Yuki Takei hai 1 ano
pai
achega
37028f6f3b
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  1. 5 3
      apps/app/src/components/Common/PageViewLayout.tsx

+ 5 - 3
apps/app/src/components/Common/PageViewLayout.tsx

@@ -23,12 +23,12 @@ export const PageViewLayout = (props: Props): JSX.Element => {
 
 
   return (
   return (
     <>
     <>
-      <div className={`main ${pageViewLayoutClass} ${fluidLayoutClass} flex-expand-vert ps-sidebar position-relative z-0`}>
+      <div className={`main ${pageViewLayoutClass} ${fluidLayoutClass} flex-expand-vert ps-sidebar`}>
         <div className="container-lg wide-gutter-x-lg grw-container-convertible flex-expand-vert">
         <div className="container-lg wide-gutter-x-lg grw-container-convertible flex-expand-vert">
           { headerContents != null && headerContents }
           { headerContents != null && headerContents }
           { sideContents != null
           { sideContents != null
             ? (
             ? (
-              <div className="flex-expand-horiz gap-3">
+              <div className="flex-expand-horiz gap-3 z-0">
                 <div className="flex-expand-vert flex-basis-0 mw-0">
                 <div className="flex-expand-vert flex-basis-0 mw-0">
                   {children}
                   {children}
                 </div>
                 </div>
@@ -40,7 +40,9 @@ export const PageViewLayout = (props: Props): JSX.Element => {
               </div>
               </div>
             )
             )
             : (
             : (
-              <>{children}</>
+              <div className="z-0">
+                {children}
+              </div>
             )
             )
           }
           }
         </div>
         </div>