Below you can see the front-view size comparison of the Panasonic GH5S and Canon 5D MIV. The Panasonic GH5S is 12 mm narrower and 18 mm shorter than the Canon 5D MIV but it is also 11 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.