Skip to content

Commit

Permalink
💈Use main as minimum grid column breakpoint (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 authored Jan 10, 2025
1 parent 40572ab commit fb1d1bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rich-parrots-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'myst-to-react': patch
---

Set min grid columns at main breakpoint
2 changes: 1 addition & 1 deletion packages/myst-to-react/src/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit fb1d1bd

Please sign in to comment.