Below you can see the front-view size comparison of the Canon M6 and Panasonic GX85. The Canon M6 is 10 mm narrower and 3 mm shorter than the Panasonic GX85 but it is also 1 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.