changing background to wrap content