CSS issue in mobile view


I noticed a problem when using Chrome on Android as well as Chrome Desktop when using Device Mode from the Developer Console. Trying to visit a user’s page shows only a blank view with a back button. I’ve narrowed down the issue to a single css rule which you can see in the attached gif