fix(layout): Fix layout of cockpit in firefox

related to CAM-719