I have refactored the image-preview stylesheet, Attached patch for same.