mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: Enable -webkit-scrollbar related css when there's no overlay scrollbar #14807
This commit is contained in:
@@ -19,6 +19,7 @@ import angular from 'angular';
|
||||
import config from 'app/core/config';
|
||||
import _ from 'lodash';
|
||||
import moment from 'moment';
|
||||
import { addClassIfNoOverlayScrollbar } from 'app/core/utils/scrollbar';
|
||||
|
||||
// add move to lodash for backward compatabiltiy
|
||||
_.move = (array, fromIndex, toIndex) => {
|
||||
@@ -45,6 +46,7 @@ export class GrafanaApp {
|
||||
preBootModules: any[];
|
||||
|
||||
constructor() {
|
||||
addClassIfNoOverlayScrollbar('no-overlay-scrollbar');
|
||||
this.preBootModules = [];
|
||||
this.registerFunctions = {};
|
||||
this.ngModuleDependencies = [];
|
||||
|
||||
Reference in New Issue
Block a user