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> {
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}
/>
......
export interface GrafanaVariables {
panelHorizontalPadding: number;
panelVerticalPadding: number;
panelhorizontalpadding: number;
panelverticalpadding: number;
}
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