.dialog-h5 {
  height: 100%;
  top: 0;
  align-items: inherit;

  .dialog {
    &-main {
      min-width: 0;
      min-height: 0;
      width: 100%;
      padding: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;

      &-content {
        flex: 1;
        padding: 0;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
      }

      footer {
        border-top: 1Px solid #dddddd;

        .btn {
          flex: 1;
          margin: 0;
          background: none;
          border-right: 1Px solid #dddddd;

          &-default {
            color: #ff584c;
            border: none;
          }
        }
      }
    }
  }
}

.center {
  align-items: center;
  padding: 20Px;
  box-sizing: border-box;
}