ensured code snippets render well on small screens