Commit ef9e74fa by Torkel Ödegaard

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

parent c243e789
...@@ -125,8 +125,8 @@ export class PanelChrome extends PureComponent<Props, State> { ...@@ -125,8 +125,8 @@ export class PanelChrome extends PureComponent<Props, State> {
panelData={panelData} panelData={panelData}
timeRange={timeRange} timeRange={timeRange}
options={panel.getOptions(plugin.exports.PanelDefaults)} options={panel.getOptions(plugin.exports.PanelDefaults)}
width={width - 2 * variables.panelHorizontalPadding} width={width - 2 * variables.panelhorizontalpadding}
height={height - PANEL_HEADER_HEIGHT - variables.panelVerticalPadding} height={height - PANEL_HEADER_HEIGHT - variables.panelverticalpadding}
renderCounter={renderCounter} renderCounter={renderCounter}
onInterpolate={this.onInterpolate} onInterpolate={this.onInterpolate}
/> />
......
export interface GrafanaVariables { export interface GrafanaVariables {
panelHorizontalPadding: number; panelhorizontalpadding: number;
panelVerticalPadding: number; panelverticalpadding: number;
} }
declare const variables: GrafanaVariables; declare const variables: GrafanaVariables;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment