mqchen / jquery.diamonds.js

Diamond layout.
http://mqchen.github.io/jquery.diamonds.js/
MIT License
128 stars 69 forks source link

row-lower absolute position overlaps content below #17

Open withcotton opened 8 years ago

withcotton commented 8 years ago

Hello.

I'm reworking the site I used this for originally and would like to see if you can help with a problem I've been having. When I have both row-upper & row-lower populated with diamonds, row-lower overlaps the content below it on the page (because of it's absolute position?), see screenshot.

Because it's responsive I can't simply add a margin/padding to the last row-lower because that row is always in the code so when I don't need the padding (when there is no content in the last row-lower) it will add it too.

Perhaps something can be added to the script that figures out if row-lower has content or not and removes it if it is empty?

Thanks

screen shot 2016-09-04 at 11 45 30