Below you can see the front-view size comparison of the Fujifilm X-T3 and Canon M5. The Canon M5 is 17 mm narrower and 4 mm shorter than the Fujifilm X-T3 but it is also 2 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.