angular2-grid icon indicating copy to clipboard operation
angular2-grid copied to clipboard

full width possible?

Open blubberbo opened this issue 9 years ago • 2 comments

hi,

I am wondering if it is possible to have the grid take up the full width of the container it is in but still having padding between the gridItems?

Thank you in advance

blubberbo avatar Oct 10 '16 15:10 blubberbo

This can be easily achieved by modifying the classes in NgGrid.css

shilpaprabhun avatar Nov 18 '16 08:11 shilpaprabhun

It should fill the full container already. The width gets set to 100% automagically (or you can probably use css to set it too). Unless you mean you don't want the margins to affect the outer elements, so that they go right to the edges, rather than having the margin there too. That's possible, but gonna require some maths :/

BTMorton avatar Nov 20 '16 02:11 BTMorton