I am using width:flex and it is creating browser scrollbar when no of columns is high. This is right. when no of columns is less, grid width decreases less than browser width and grid is not using full browser width.
Requirement : if no of columns is less, then grid must use browser width and visible in full width of browser and if no of columns is high, then scrollbar visible.
I tried to use minWidth: jQuery("window").width() with width:flex but not working.
What is solution