resize snippets