When working in the Classic Editor you can not by default.
You will have to use some lines of custom CSS code (depending on your theme, layout etc).
As an alternative you can use one of the plenty available gallery plugins
(I would personally go with the custom css since it is a very simple thing you ask for)
Blocks (Gutenberg editor)