When open a modal, .modal-body class's flex: 1 1 auto doesn't work, due to "modal-content" is no longer a direct parent of "modal-body". The component element sits between them. As result, when open ...