#Bento Grid Problem

16 messages · Page 1 of 1 (latest)

mint stream
#

The bento grid is not displaying properly current result

#

Expected result

proven creek
mint stream
covert vault
#

could you help me out with this problem cuz i am not getting this figured out!

slim fractal
#

Same here 😦

mint stream
mint stream
slim fractal
#

Would be nice if we actually helped each other. Not everyone is a frontend dev

proven creek
mighty acorn
# slim fractal Would be nice if we actually helped each other. Not everyone is a frontend dev

Here slot this into the return() function of your export const BentoGrid() in components/ui/BentoGrid.tsx: export const BentoGrid = ({
className,
children,
}: {
className?: string;
children?: React.ReactNode;
}) => {
return (
<div
className={cn(
// change gap-4 to gap-8, change grid-cols-3 to grid-cols-5, remove md:auto-rows-[18rem], add responsive code
"grid grid-cols-1 md:grid-cols-6 lg:grid-cols-5 md:grid-row-7 gap-4 lg:gap-8 mx-auto",
className
)}
>
{children}
</div>
);
};

mint stream
junior tapir
#

Anyone know how to fix this issue with BentoGrid ?