Added maxLines for rendering on mobile devices.