Sfoglia il codice sorgente

Merge pull request #5465 from tmc/patch-1

properly quote font-family on singlestat
Carl Bergquist 9 anni fa
parent
commit
7b84c4b4dc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      public/app/plugins/panel/singlestat/module.ts

+ 1 - 1
public/app/plugins/panel/singlestat/module.ts

@@ -409,7 +409,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
             value: {
               color: panel.colorValue ? getColorForValue(data, data.valueRounded) : null,
               formatter: function() { return getValueText(); },
-              font: { size: fontSize, family: 'Helvetica Neue", Helvetica, Arial, sans-serif' }
+              font: { size: fontSize, family: '"Helvetica Neue", Helvetica, Arial, sans-serif' }
             },
             show: true
           }