.app-echats-timeline { display: flex; flex-direction: column; height: 250px; &__tip { margin: auto; } &__container { flex: 1; display: flex; flex-direction: column; .app-echarts { flex: 1; } .legend { display: flex; color: #7a8a94; font-size: 12px; padding: 4px 4%; margin: 0; &-item { &:not(:first-child) { margin-left: 10px; } } } } }