.jm-ellipsis-clamp {
  width: 100%;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  word-break: break-all;
  position: relative;
  text-overflow: ellipsis;
}

.jm-ellipsis {
  width: 100%;
  word-break: break-all;
  overflow: hidden;
  position: relative;
}

.jm-ellipsis::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3em;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.9), white);
}

.jm-ellipsis-single-line {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}