Just 'head' injection, please make sure it's in <style> tag:
<style> img.bx-base-pofile-cover-image { background-size: contain !important; } </style>