Format pill and responsive design