.nut-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: $dialog-width;
  min-height: 156px;
  padding: 28px 24px 16px 24px;

  &__header {
    display: block;
    text-align: center;
    height: 20px;
    font-size: 16px;
    color: rgba(38, 38, 38, 1);
    @include oneline-ellipsis();
  }
  &__content {
    width: 100%;
    overflow: auto;
    flex: 1;
    margin: 20px 0;
    max-height: 268px;
    line-height: 16px;
    font-size: 12px;
    color: $text-color;
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-wrap;
  }
  &__footer {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;

    .nut-button {
      flex: 1;
    }

    &-cancel {
      margin-right: 20px;
    }
    &-ok {
      max-width: 128px;
    }
  }
}
