event-chart {
  display: block;
  position: relative;

  header {
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    z-index: 10;
    pointer-events: none;

    .units {
      display: flex;
      position: absolute;
      top: -2px;
      right: 66px;

      li {
        border: 1px solid #E1E1E1;
        color: #C9C9C9;
        width: 34px;

        &.active {
          color: var(--pageSearch-eventCharts-xLine-color);
        }
      }
    }
  }

  ng-echarts {
    height: 160px;
  }
}
