z-kit / z-grid

A 12-column grid system for your web application
https://www.npmjs.com/package/z-grid
MIT License
2 stars 0 forks source link

Make fit modifier conditional #20

Closed mkxml closed 5 years ago

mkxml commented 7 years ago

It would be cool to add the option to specify the columns to fit the remaining space according to the viewport's width.

Actual behavior

Currently z-grid__col--fit is not available to the media braekpoints, thus it's impossible to conditionally set specify the column to fit the remaining space.

Expected behavior

z-grid__col--fit should be conditionally configured through the available media breakpoints. Basically we would implement z-grid__col--sm-fit, z-grid__col--md-fit, z-grid__col--lg-fit and z-grid__col--xl-fit.

mkxml commented 5 years ago

Done in 01871a8fd708b07f0ad6e01951eff856bb534eb4