Fixed issue with sass variables used from typescript, the prettier lowercases export variables

(cherry picked from commit ef9e74fabb)
This commit is contained in:
Torkel Ödegaard
2019-02-18 16:47:49 +01:00
committed by Leonard Gram
parent 9e457077c6
commit 754be5a66e
2 changed files with 4 additions and 4 deletions
@@ -125,8 +125,8 @@ export class PanelChrome extends PureComponent<Props, State> {
panelData={panelData}
timeRange={timeRange}
options={panel.getOptions(plugin.exports.PanelDefaults)}
width={width - 2 * variables.panelHorizontalPadding}
height={height - PANEL_HEADER_HEIGHT - variables.panelVerticalPadding}
width={width - 2 * variables.panelhorizontalpadding}
height={height - PANEL_HEADER_HEIGHT - variables.panelverticalpadding}
renderCounter={renderCounter}
onInterpolate={this.onInterpolate}
/>
+2 -2
View File
@@ -1,6 +1,6 @@
export interface GrafanaVariables {
panelHorizontalPadding: number;
panelVerticalPadding: number;
panelhorizontalpadding: number;
panelverticalpadding: number;
}
declare const variables: GrafanaVariables;