Merge pull request #11955 from grafana/v5.1.3-patch-release

V5.1.3 patch release
This commit is contained in:
Daniel Lee
2018-05-16 17:39:55 +02:00
committed by GitHub
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"company": "Grafana Labs"
},
"name": "grafana",
"version": "5.1.2",
"version": "5.1.3",
"repository": {
"type": "git",
"url": "http://github.com/grafana/grafana.git"
+4
View File
@@ -287,6 +287,10 @@ module.directive('graphLegend', function(popoverSrv, $timeout) {
destroyScrollbar();
legendScrollbar = baron(scrollbarParams);
}
// #11830 - compensates for Firefox scrollbar calculation error in the baron framework
scroller[0].style.marginRight = '-' + (scroller[0].offsetWidth - scroller[0].clientWidth) + 'px';
legendScrollbar.scroll();
}
+8
View File
@@ -44,10 +44,18 @@ div.flot-text {
padding: $panel-padding;
height: calc(100% - 27px);
position: relative;
// Fixes scrolling on mobile devices
overflow: auto;
}
// For larger screens, set back to hidden to avoid double scroll bars
@include media-breakpoint-up(md) {
.panel-content {
overflow: hidden;
}
}
.panel-title-container {
min-height: 9px;
cursor: move;