fix inline style for screenshot