fix: graph right y label is now correctly possitioned, fixes #9172

pull/9179/head
Torkel Ödegaard 8 years ago
parent ec64dc8fae
commit 82d365bdb8
  1. 8
      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;
}

Loading…
Cancel
Save