Fixed issues with css max-height/width
Merge pull request #1 from malihu/master

sync with upstream