fix(bug): fixed snippet layout error