Skip to content

The open alternative to Salesforce, designed for AI.

Update minimum chart sizes (#15500)

Raphaël Bosi2d1a89c4c241
diff --git a/packages/twenty-front/src/modules/page-layout/constants/WidgetSizes.ts b/packages/twenty-front/src/modules/page-layout/constants/WidgetSizes.ts
index a357282e423..82c2281fdb4 100644
--- a/packages/twenty-front/src/modules/page-layout/constants/WidgetSizes.ts
+++ b/packages/twenty-front/src/modules/page-layout/constants/WidgetSizes.ts
@@ -7,7 +7,7 @@ type WidgetSizeConfig = {
export const WIDGET_SIZES: Record<GraphType, WidgetSizeConfig> = {
[GraphType.AGGREGATE]: {
- default: { w: 3, h: 2 },
+ default: { w: 2, h: 2 },
minimum: { w: 2, h: 2 },
},
[GraphType.GAUGE]: {
@@ -20,14 +20,14 @@ export const WIDGET_SIZES: Record<GraphType, WidgetSizeConfig> = {
},
[GraphType.VERTICAL_BAR]: {
default: { w: 6, h: 6 },
- minimum: { w: 5, h: 5 },
+ minimum: { w: 4, h: 4 },
},
[GraphType.HORIZONTAL_BAR]: {
default: { w: 6, h: 6 },
- minimum: { w: 5, h: 5 },
+ minimum: { w: 4, h: 4 },
},
[GraphType.LINE]: {
default: { w: 6, h: 10 },
- minimum: { w: 5, h: 5 },
+ minimum: { w: 4, h: 4 },
},
};