@use 'sass:meta';

@mixin prefix-line-height($args...) {
  @each $size, $height in meta.keywords($args) {
    &.el-input--#{$size} {
      .el-input__prefix {
        line-height: $height;
      }
    }
  }
}

.dg-editor {
  &.el-input {
    .el-input__prefix {
      line-height: 40px;
    }
  }
  @include prefix-line-height($mini: 28px, $small: 32px, $medium: 36px, $large: 40px);
}

.dg-text {
  word-wrap: break-word;
  word-break: break-all;
}
