From b955db8fe1e4ebc8d88849b28a269ceb4b6c9f22 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Fri, 15 Sep 2017 21:32:59 +0200 Subject: [PATCH] Modify chart legend position --- .../overview/stats-overview.component.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/static/src/app/statistic/overview/stats-overview.component.css b/static/src/app/statistic/overview/stats-overview.component.css index 03f8265..9f8b169 100644 --- a/static/src/app/statistic/overview/stats-overview.component.css +++ b/static/src/app/statistic/overview/stats-overview.component.css @@ -1,9 +1,24 @@ .slide-chart-container { width: 1200px; margin: auto; + padding-left: 90px; } :host /deep/ .carousel-control { width: 5%; cursor: pointer; } + +:host /deep/ .chart-legend{ + position: absolute; + margin-top: -60px; + margin-left: -220px; +} + +:host /deep/ .legend-label { + float: left; +} + +:host /deep/ .chart-legend .legend-label { + padding-left: 14px; +}