在移动设备上放弃或继续编辑的弹出窗口

您可以添加以下 CSS 来获得期望的行为(来源:stack-overflow):

@media screen and (max-width: 500px) {
    .d-modal__footer {
        flex-direction: column;
        button {
            width: 100%;
        }
    }
}
1 个赞