Fix max-width 100% bug caused by .thumbnail inline-block fix