mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
* Use 12-column layout for dashboard grid Set minSizeX, minSizeY for widgets to 2 since a value of 1 breaks all assumptions of the UI layout. Migration provide transition from 6 to 12 columns for all widgets. * Restyled by prettier
14 lines
302 B
JavaScript
14 lines
302 B
JavaScript
export default {
|
|
columns: 12, // grid columns count
|
|
rowHeight: 50, // grid row height (incl. bottom padding)
|
|
margins: 15, // widget margins
|
|
mobileBreakPoint: 800,
|
|
// defaults for widgets
|
|
defaultSizeX: 6,
|
|
defaultSizeY: 3,
|
|
minSizeX: 2,
|
|
maxSizeX: 12,
|
|
minSizeY: 2,
|
|
maxSizeY: 1000,
|
|
};
|