Explorar o código

properly quote font-family on singlestat

Travis Cline %!s(int64=9) %!d(string=hai) anos
pai
achega
bca6101609
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
           }