Merge pull request #11946 from grafana/11937-panel-content

scroll: temporary fix for double scrollbar issue
This commit is contained in:
Daniel Lee 2018-05-16 15:16:44 +02:00 committed by GitHub
commit 3305ac1f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;