figure.wp-block-gallery.has-nested-images {
    flex-direction: column;
}
figure.wp-block-gallery.has-nested-images > figure {
    width: 100% !important;
}