I have a pedestrian bridge that leads to an existing masonry building. I have a 25mm gap between the end of the bridge and the existing masonry building. The pedestrian bridge is self-supporting for gravity loads but relies on the existing masonry building for lateral support at that end of the bridge. Please see attached sketch. I am wondering how I can detail this connection to transfer lateral loads only. I can always butt the angle to the masonry wall and slot the holes vertically, but I also need to prevent the bridge from pushing into the masonry wall during storm/seismic event. Any suggestions? Thank you in advance.