Procházet zdrojové kódy

properly quote font-family on singlestat

Travis Cline před 9 roky
rodič
revize
bca6101609
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: {
             value: {
               color: panel.colorValue ? getColorForValue(data, data.valueRounded) : null,
               color: panel.colorValue ? getColorForValue(data, data.valueRounded) : null,
               formatter: function() { return getValueText(); },
               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
             show: true
           }
           }