//to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// textarea的字数限制文字
.el-input__count{
  line-height: 14px;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .el-dialog__body{
    max-height: 500px;
    padding-bottom: 10px;
    padding-top: 10px;
    overflow: auto;
  }
  // 默认底部按钮靠右
  .dialog-footer{
    text-align: right;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// 表哥行内内容超出显示省略号
.el-table{
  .cell{overflow:hidden !important;text-overflow:ellipsis;white-space:nowrap !important;}
}
.el-tooltip__popper{
  max-width: 400px; 
  line-height: 18px !important;
}

// 按钮组内，icon按钮不对其问题
.el-button-group {
  [class^="el-icon-"] {
    display: block;
  }
}
