Skip to content

Commit f62d2b7

Browse files
author
Andrew Young
authored
Fix minWidth description
The grip switches to one column at less than or equal to minWidth rather than just less than as the docs state
1 parent fa4f2d0 commit f62d2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ gridstack.js API
7777
- `height` - maximum rows amount. Default is `0` which means no maximum rows
7878
- `float` - enable floating widgets (default: `false`) See [example](http://troolee.github.io/gridstack.js/demo/float.html)
7979
- `itemClass` - widget class (default: `'grid-stack-item'`)
80-
- `minWidth` - minimal width. If window width is less, grid will be shown in one-column mode (default: `768`)
80+
- `minWidth` - minimal width. If window width is less than or equal to, grid will be shown in one-column mode (default: `768`)
8181
- `disableOneColumnMode` - disables the onColumnMode when the window width is less than minWidth (default: 'false')
8282
- `oneColumnModeClass` - class set on grid when in one column mode (default: 'grid-stack-one-column-mode')
8383
- `placeholderClass` - class for placeholder (default: `'grid-stack-placeholder'`)

0 commit comments

Comments
 (0)