.dg-edit-form {
  flex: 1;
  overflow-y: auto;
  padding: 16px;

  .dg-editor {
    width: 100%;
    &.el-date-editor {
      width: 100%;
    }
  }

  &__drawer {
    .el-drawer__header {
      margin-bottom: 0;
      padding: 12px;
      border-bottom: 1px solid #dcdcdc;
    }

    &-body {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      height: 100%;
    }

    &-footer {
      background-color: #fff;
      flex: 0 0 auto;
      text-align: right;
      padding: 16px 12px 12px;
      box-shadow: 0 2px 12px 0px rgba($color: #000000, $alpha: 0.12);
    }
  }
}
