:host {
  display: block;
  overflow: hidden;
  position: relative;
}
:host::before, :host::after {
  position: absolute;
  z-index: 1;
  content: "";
  display: block;
  width: 6px;
  height: 100%;
  top: 0;
}

:host(.leftFade)::before {
  left: 0;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

:host(.rightFade)::after {
  right: 0;
  background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.inner {
  position: relative;
  white-space: nowrap;
  left: 0;
}

:host(.ellipsis) .inner {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}