Просмотр исходного кода

fix(sidemenu): fixed issue with new sidemenu in optimized build, #3687

Torkel Ödegaard 10 лет назад
Родитель
Сommit
317b5e6d86
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      public/app/features/sidemenu/sidemenu.ts
  2. 1 1
      public/less/sidemenu.less

+ 1 - 0
public/app/features/sidemenu/sidemenu.ts

@@ -16,6 +16,7 @@ class SideMenuCtrl {
   grafanaVersion: any;
   appSubUrl: string;
 
+  /** @ngInject */
   constructor(private $scope, private $location, private contextSrv, private backendSrv) {
     this.isSignedIn = contextSrv.isSignedIn;
     this.user = contextSrv.user;

+ 1 - 1
public/less/sidemenu.less

@@ -24,7 +24,7 @@
     visibility: visible;
     -webkit-transform: translate3d(0, 0, 0);
     transform: translate3d(0, 0, 0);
-    transition: all 0.3s;
+    transition: all 0.2s;
   }
 }