Why button is spread out when parent element display is flex