fix responsive admin
deksripsi: - app infomation - user serach - project collaboration
This commit is contained in:
@@ -2,19 +2,25 @@ import { SimpleGrid } from "@mantine/core";
|
||||
|
||||
export function Admin_V3_ComponentBreakpoint({
|
||||
children,
|
||||
cols
|
||||
cols,
|
||||
sm,
|
||||
md,
|
||||
lg,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
cols?: number;
|
||||
sm?: number;
|
||||
md?: number;
|
||||
lg?: number;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<SimpleGrid
|
||||
cols={cols || 2}
|
||||
breakpoints={[
|
||||
{ maxWidth: "sm", cols: 1 },
|
||||
{ maxWidth: "md", cols: 1 },
|
||||
{ maxWidth: "lg", cols: 1 },
|
||||
{ maxWidth: "sm", cols: sm || 1 },
|
||||
{ maxWidth: "md", cols: md || 1 },
|
||||
{ maxWidth: "lg", cols: lg || 1 },
|
||||
]}
|
||||
spacing={"lg"}
|
||||
verticalSpacing={"lg"}
|
||||
|
||||
Reference in New Issue
Block a user