Below you can see the front-view size comparison of the Olympus E-M10 and Leica M8. The Leica M8 is 2 mm shorter and 9 mm thinner than the Olympus E-M10 but it is also 20 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.