The trend in cameras for many years has been towards smaller sizes. Small is good when you want a camera you can carry at all times in a pocket or purse. But, when it comes to image quality, in almost every case bigger is better.
Consider detail resolution. It’s often expressed in megapixels or numbers like 1920 x 1080. There doesn’t seem to be any particular size associated with either; they’re just numbers. A camera with a 4/3-inch-format sensor and one with a 1/3-inch-format sensor seem to have the same resolution if they have the same numbers.