mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'fix-11053' of https://github.com/alexanderzobnin/grafana into alexanderzobnin-fix-11053
This commit is contained in:
commit
eea2369987
@ -196,9 +196,10 @@ export class DashboardViewState {
|
||||
this.oldTimeRange = ctrl.range;
|
||||
this.fullscreenPanel = panelScope;
|
||||
|
||||
// Firefox doesn't return scrollTop postion properly if 'dash-scroll' is emitted after setViewMode()
|
||||
this.$scope.appEvent('dash-scroll', { animate: false, pos: 0 });
|
||||
this.dashboard.setViewMode(ctrl.panel, true, ctrl.editMode);
|
||||
this.$scope.appEvent('panel-fullscreen-enter', { panelId: ctrl.panel.id });
|
||||
this.$scope.appEvent('dash-scroll', { animate: false, pos: 0 });
|
||||
}
|
||||
|
||||
registerPanel(panelScope) {
|
||||
|
@ -192,7 +192,17 @@
|
||||
|
||||
// Width needs to be set to prevent content width issues
|
||||
// Set to 99% instead of 100% for fixing Firefox issue (white stripe on the right of scrollbar)
|
||||
width: 99%;
|
||||
min-width: 99%;
|
||||
}
|
||||
|
||||
// Fix for side menu on mobile devices
|
||||
.sidemenu-open.sidemenu-open--xs {
|
||||
.main-view.baron {
|
||||
min-width: 0%;
|
||||
}
|
||||
}
|
||||
.main-view.baron {
|
||||
min-width: 99%;
|
||||
}
|
||||
|
||||
.baron__clipper {
|
||||
|
Loading…
Reference in New Issue
Block a user