mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed issue with sass variables used from typescript, the prettier lowercases export variables
This commit is contained in:
parent
c243e78913
commit
ef9e74fabb
@ -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}
|
||||
/>
|
||||
|
4
public/sass/_variables.scss.d.ts
vendored
4
public/sass/_variables.scss.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
export interface GrafanaVariables {
|
||||
panelHorizontalPadding: number;
|
||||
panelVerticalPadding: number;
|
||||
panelhorizontalpadding: number;
|
||||
panelverticalpadding: number;
|
||||
}
|
||||
|
||||
declare const variables: GrafanaVariables;
|
||||
|
Loading…
Reference in New Issue
Block a user