Below you can see the front-view size comparison of the Olympus E-PL7 and Olympus E-P5. The Olympus E-PL7 is 7 mm narrower and 2 mm shorter than the Olympus E-P5 but it is also 1 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.