.dialog-h5 { height: 95%; top: 30px; align-items: inherit; } .dialog-h5 .dialog-main { border-radius: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; width: 100%; min-height: 80px; min-width: 120px; } .dialog-h5 .dialog-main-content { flex: 1; min-width: 0; min-height: 0; overflow: hidden; text-align: center; display: flex; justify-content: center; align-items: center; margin-bottom: 0; } .dialog-h5 .dialog-main-content-uniapp { padding: 40px 0; } .dialog-h5 .dialog-main-footer { border-top: 1px solid #DDD; } .dialog-h5 .dialog-main-footer .btn { flex: 1; margin: 0; background: none; border-right: 1px solid #DDD; background-color: #fe3c3c; } .dialog-h5 .dialog-main-footer .btn-default { color: #fff; border: none; background-color: #fe3c3c; display: flex; align-items: center; justify-content: center; } .center { align-items: center; padding: 20px; box-sizing: border-box; }