Skip to content

Commit

Permalink
Merge pull request #11955 from grafana/v5.1.3-patch-release
Browse files Browse the repository at this point in the history
V5.1.3 patch release
  • Loading branch information
daniellee committed May 16, 2018
2 parents c3c690e + ab0dc3f commit 0871432
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions public/app/plugins/panel/graph/legend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
8 changes: 8 additions & 0 deletions public/sass/pages/_dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0871432

Please sign in to comment.