style(ui): reduce initial dashboard gaps and flatten discovery rows
This commit is contained in:
@@ -34,7 +34,8 @@ export function defaultDashboardLayout(): DashboardLayout {
|
||||
return { version: 2, revision: 0, widgets: arrangeDashboardWidgets(order.map(id => {
|
||||
const definition = WIDGETS.find(widget => widget.id === id)!;
|
||||
const w = id === 'attention' ? 12 : id === 'agenda' ? 8 : id === 'funnel' ? 4 : definition.defaultSize === 'full' ? 12 : 6;
|
||||
return { id, visible: true, size: w === 12 ? 'full' : 'standard', x: 0, y: 0, w, h: id === 'cards' ? 5 : id === 'attention' ? 9 : 8 };
|
||||
const h = id === 'cards' ? 5 : id === 'attention' ? 9 : ['stageAge', 'sources', 'salary', 'companies', 'skills'].includes(id) ? 4 : 8;
|
||||
return { id, visible: true, size: w === 12 ? 'full' : 'standard', x: 0, y: 0, w, h };
|
||||
})) };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user