Fix the issue where doc html would overflow into the preview area.