mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
scroll: temporary fix for double scrollbar issue
If #11939 is not merged in the patch release, then this is a temporary fix for 5.1.3. It sets overflow to hidden for larger screens and keeps the overflow set to auto for mobiles and tablets. Fixes #11937
This commit is contained in:
parent
0841e67da8
commit
567fec402e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user