angular-dynamic-layout icon indicating copy to clipboard operation
angular-dynamic-layout copied to clipboard

Center the grid and spread elements

Open Ungomma opened this issue 9 years ago • 2 comments

Hello!

Thank you for continuing to develop and support your grid module!

I wonder if there's any way to center the grid on the screen? I want my grid to fill the entire window, but dynamic-layout seems to align elements to the left and leaves unused space to the right.

Ungomma avatar Feb 29 '16 10:02 Ungomma

To achieve this, you should center the container itself as in http://tristanguigue.github.io/angular-dynamic-layout/

tristanguigue avatar Mar 02 '16 08:03 tristanguigue

The demo page has the same issue. If I set text cards width to 320px it places two cards on a row, but they are aligned to the left, not centered. image

What I want is something like flexbox justify-content: center.

Ungomma avatar Mar 02 '16 08:03 Ungomma