index.less 361 Bytes
Newer Older
niko's avatar
niko committed
1
.ellipsis {
2
  overflow: hidden;
niko's avatar
niko committed
3 4
  display: inline-block;
  word-break: break-all;
5
  width: 100%;
niko's avatar
niko committed
6 7 8 9 10
}

.lines {
  position: relative;
  .shadow {
11 12
    display: block;
    position: relative;
niko's avatar
niko committed
13 14 15 16 17 18
    color: transparent;
    opacity: 0;
    z-index: -999;
  }
}

19 20 21 22 23
.lineClamp {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
niko's avatar
niko committed
24
}