mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(panel): fixed issue with fullscreen panel view and switching to another dashboard, fixes #5163
This commit is contained in:
parent
6f094ef215
commit
71d62012e1
@ -142,9 +142,10 @@ function (angular, _, config) {
|
||||
});
|
||||
|
||||
module.directive('panelWidth', function() {
|
||||
var fullscreen = false;
|
||||
|
||||
return function(scope, element) {
|
||||
var fullscreen = false;
|
||||
|
||||
function updateWidth() {
|
||||
if (!fullscreen) {
|
||||
element[0].style.width = ((scope.panel.span / 1.2) * 10) + '%';
|
||||
|
Loading…
Reference in New Issue
Block a user