.ellipsis {
  overflow: hidden;
  display: inline-block;
  word-break: break-all;
  // width: 100%;
}

.lines {
  position: relative;

  .shadow {
    display: block;
    position: absolute;
    color: transparent;
    opacity: 0;
    z-index: -999;
  }
}

.lineClamp {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  display: -webkit-inline-box; // 防止文字太短时tooltip指向cell的中间
}
