fixed #5
fixed styles for images inside of preview