Ver código fonte

Fixing header bar grid.

Blockiosaurus 1 ano atrás
pai
commit
56abf5287d
1 arquivos alterados com 2 adições e 8 exclusões
  1. 2 8
      src/components/products/SwitcherPopover.jsx

+ 2 - 8
src/components/products/SwitcherPopover.jsx

@@ -17,14 +17,8 @@ export function SwitcherPopover({ children, menuItem, ...props }) {
       <Popover.Panel className="absolute z-10 m-auto mt-4 ">
         {({ close }) => (
           <div className="fixed left-0 w-full">
-            <div
-              className="m-auto w-full max-w-[600px]  overflow-hidden  rounded-lg bg-white p-4 shadow-xl ring-1 ring-black ring-opacity-5 dark:border dark:border-slate-600 dark:bg-neutral-900"
-            >
-              <Grid
-                className="relative md:grid-flow-row md:grid-cols-2"
-                onClick={close}
-                menuItem={menuItem}
-              />
+            <div className="m-auto w-full max-w-[600px]  overflow-hidden  rounded-lg bg-white p-4 shadow-xl ring-1 ring-black ring-opacity-5 dark:border dark:border-slate-600 dark:bg-neutral-900">
+              <Grid onClick={close} menuItem={menuItem} />
             </div>
           </div>
         )}