Procházet zdrojové kódy

Merge pull request #5465 from tmc/patch-1

properly quote font-family on singlestat
Carl Bergquist před 9 roky
rodič
revize
7b84c4b4dc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
           }