kombai / freewall

Freewall is a cross-browser and responsive jQuery plugin to help you create grid, image and masonry layouts for desktop, mobile, and tablet...
MIT License
1.85k stars 375 forks source link

fixSize #153

Open polikin opened 9 years ago

polikin commented 9 years ago

The size of my element change when I resized the window. How it is possible to keep the same width and height?

http://recordit.co/WoaxJFf8r4

wall.fixSize({ block: '.twitter-hastag', width: 700, height: 468 }); wall.fitWidth();

kombai commented 9 years ago

you can set data-fixSize="1" for this block. https://github.com/kombai/freewall/blob/master/example/fixsize-test.html

polikin commented 9 years ago

I tried data-fixSize, but I have another problem. The grid item is supposed to always be square.. but sometime the height is higher.

http://recordit.co/CuQ0Vw74Q8