Tweaked stylesheet to handle overflowing preview image