mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
* Panels: Initial poc of no panel titles * moving panel-container to DashboardPanel * Starting to work * Gauge fix * Panels: tweaked panel padding and title z-index stuff * Panels: changed panel padding a bit and simplified it by having same padding in vertical and horizontal * Lots of tweaks to panel padding related stuff * Updated snapshot * Added test dashboard * Final refactorings * Trim title befgor applying panel-container--no-title class * Remove unnecessary type annotation * Panels: hasTitle no need to trim * Gauge: fixed font family
13 lines
361 B
TypeScript
13 lines
361 B
TypeScript
export const GRID_CELL_HEIGHT = 30;
|
|
export const GRID_CELL_VMARGIN = 10;
|
|
export const GRID_COLUMN_COUNT = 24;
|
|
export const REPEAT_DIR_VERTICAL = 'v';
|
|
|
|
export const DEFAULT_PANEL_SPAN = 4;
|
|
export const DEFAULT_ROW_HEIGHT = 250;
|
|
export const MIN_PANEL_HEIGHT = GRID_CELL_HEIGHT * 3;
|
|
|
|
export const LS_PANEL_COPY_KEY = 'panel-copy';
|
|
|
|
export const PANEL_BORDER = 2;
|