ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

need an extra 15px space to add a new column #177

Closed 2beers closed 11 years ago

2beers commented 11 years ago

hi. I have a 300px width div which will be the gridster container. I've defined the widget_base_dimensions: [60, 60] which means that I should have 5 columns, but only 4 are created. min_cols: 5 doesn't work. If I increase the div width with 15px (315px) everything is working ok. Tested in firefox 21 and chrome 26. When you try to drag an widget and place it to the 5th column it doesn't work.

http://jsfiddle.net/NNXdk/1/

2beers commented 11 years ago

never mind .. I had to put padding:0 to ul element.