fix responsive admin forum
This commit is contained in:
@@ -6,21 +6,23 @@ export function Admin_V3_ComponentBreakpoint({
|
||||
sm,
|
||||
md,
|
||||
lg,
|
||||
allCols,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
cols?: number;
|
||||
sm?: number;
|
||||
md?: number;
|
||||
lg?: number;
|
||||
allCols?: number;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<SimpleGrid
|
||||
cols={cols || 2}
|
||||
cols={ allCols || cols || 2}
|
||||
breakpoints={[
|
||||
{ maxWidth: "sm", cols: sm || 1 },
|
||||
{ maxWidth: "md", cols: md || 1 },
|
||||
{ maxWidth: "lg", cols: lg || 1 },
|
||||
{ maxWidth: "sm", cols: allCols || sm || 1 },
|
||||
{ maxWidth: "md", cols: allCols || md || 1 },
|
||||
{ maxWidth: "lg", cols: allCols || lg || 1 },
|
||||
]}
|
||||
spacing={"lg"}
|
||||
verticalSpacing={"lg"}
|
||||
|
||||
Reference in New Issue
Block a user