To change the arrangement of grouped objects from horizontal to vertical, ensure that the container is set to either flex row or grid: