diff --git a/.changeset/rich-parrots-explode.md b/.changeset/rich-parrots-explode.md new file mode 100644 index 00000000..11df7c70 --- /dev/null +++ b/.changeset/rich-parrots-explode.md @@ -0,0 +1,5 @@ +--- +'myst-to-react': patch +--- + +Set min grid columns at main breakpoint diff --git a/packages/myst-to-react/src/grid.tsx b/packages/myst-to-react/src/grid.tsx index b4a1ef63..ae7c2a55 100644 --- a/packages/myst-to-react/src/grid.tsx +++ b/packages/myst-to-react/src/grid.tsx @@ -100,7 +100,7 @@ function gridColumnClasses(columns?: number[]): string { } return [ // getColumnClassName(gridClassNames.main, columns[0]), - getColumnClassName(gridClassNames.sm, columns[0]), + getColumnClassName(gridClassNames.main, columns[0]), getColumnClassName(gridClassNames.md, columns[1]), getColumnClassName(gridClassNames.lg, columns[2]), getColumnClassName(gridClassNames.xl, columns[3]),