Below you can see the front-view size comparison of the Canon SL2 and Panasonic G85. The Canon SL2 is 6 mm narrower and 4 mm thinner than the Panasonic G85 but it is also 4 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.