If I view it on my phone, and I click a box to the right, it expands, but then most of it goes off screen and I can't see it, also there is no horizontal scroll bar. Basically what I want, is that when you click something and it expands, the grid should auto sort itself so the bigger elements are in the top left corner, and the smaller ones are in the bottom right.
I am using the gridster jquery plugin, and it would be great if there is a way to auto-sort the boxes. This is my current code:
JS
If I view it on my phone, and I click a box to the right, it expands, but then most of it goes off screen and I can't see it, also there is no horizontal scroll bar. Basically what I want, is that when you click something and it expands, the grid should auto sort itself so the bigger elements are in the top left corner, and the smaller ones are in the bottom right.
Does anyone know if there is a way to do this?
Thanks