CON-1986: Css class .center breaks layout

Port 7591fe2 from Oasis