mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TablePanel: Default cell height should be small (#64611)
* TablePanel: Default cell height should be small * Component default
This commit is contained in:
@@ -57,7 +57,7 @@ export const Table = memo((props: Props) => {
|
||||
showTypeIcons,
|
||||
footerValues,
|
||||
enablePagination,
|
||||
cellHeight = TableCellHeight.Md,
|
||||
cellHeight = TableCellHeight.Sm,
|
||||
} = props;
|
||||
|
||||
const listRef = useRef<VariableSizeList>(null);
|
||||
|
||||
@@ -46,7 +46,7 @@ composableKinds: PanelCfg: {
|
||||
reducer: []
|
||||
}
|
||||
// Controls the height of the rows
|
||||
cellHeight?: ui.TableCellHeight | *"md"
|
||||
cellHeight?: ui.TableCellHeight | *"sm"
|
||||
} @cuetsy(kind="interface")
|
||||
},
|
||||
]
|
||||
|
||||
@@ -44,7 +44,7 @@ export interface PanelOptions {
|
||||
}
|
||||
|
||||
export const defaultPanelOptions: Partial<PanelOptions> = {
|
||||
cellHeight: ui.TableCellHeight.Md,
|
||||
cellHeight: ui.TableCellHeight.Sm,
|
||||
footer: {
|
||||
/**
|
||||
* Controls whether the footer should be shown
|
||||
|
||||
Reference in New Issue
Block a user