lrembacz / vue-responsive-grid-layout

Vue Repsonsive Grid Layout
MIT License
83 stars 19 forks source link

Custom grid (different column width) #23

Closed kosirm closed 5 years ago

kosirm commented 5 years ago

Hi, this is really a great project, thank you for sharing code!!! I would like to use this project for golden ratio grid layout, which I'm using for my project. Here is a simple example of golden ratio grid, implemented with css grid. How would be possible to create custom grid (different column width) in vue-responsive-grid-layout? I would like to pass object with different column width for every column to cols variable in vue-responsive-grid-layout (instead of number). Do you think this would be possible to implement with this project?

lrembacz commented 5 years ago

It's not possible to define custom width in current version of vue-responsive-grid-layout. You can only define your width as cols recomended and tested is just 12 columns for view. If you want you can fork this repo and try to change it the way you want.