diff --git a/public/sass/components/_panel_graph.scss b/public/sass/components/_panel_graph.scss index 9ecea98c894..5f9178df2f7 100644 --- a/public/sass/components/_panel_graph.scss +++ b/public/sass/components/_panel_graph.scss @@ -181,7 +181,7 @@ } .graph-legend { - margin: 0; + margin: 0 0 0 1rem; } .graph-legend-series { @@ -321,7 +321,7 @@ .left-yaxis-label { top: 50%; - left: 0; + left: 2px; transform: translateX(-50%) translateY(-50%) rotate(-90deg); // this is needed for phantomsjs 2.1 -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg); @@ -329,7 +329,7 @@ .right-yaxis-label { top: 50%; - right: 0; + right: 2px; transform: translateX(50%) translateY(-50%) rotate(90deg); // this is needed for phantomsjs 2.1 -webkit-transform: translateX(50%) translateY(-50%) rotate(90deg); @@ -339,7 +339,7 @@ display: inline-block; color: $text-color; font-size: $font-size-sm; - position: relative; + position: absolute; text-align: center; font-size: 12px; }