hide overflow on markdown thumbnails

fixes #285