diff --git a/frontend/src/AppBuilder/WidgetManager/widgets/listview.js b/frontend/src/AppBuilder/WidgetManager/widgets/listview.js index 6c599bc2fc..0986efaea8 100644 --- a/frontend/src/AppBuilder/WidgetManager/widgets/listview.js +++ b/frontend/src/AppBuilder/WidgetManager/widgets/listview.js @@ -13,7 +13,7 @@ export const listviewConfig = { top: 15, left: 3, height: 100, - width: 7, + width: 4, }, properties: ['source'], accessorKey: 'imageURL', @@ -24,6 +24,7 @@ export const listviewConfig = { top: 50, left: 11, height: 30, + width: 4, }, properties: ['text'], accessorKey: 'text', @@ -49,12 +50,14 @@ export const listviewConfig = { data: { type: 'code', displayName: 'List data', - schema: { - type: 'union', - schemas: [ - { type: 'array', element: { type: 'object' } }, - { type: 'array', element: { type: 'string' } }, - ], + validation: { + schema: { + type: 'union', + schemas: [ + { type: 'array', element: { type: 'object' } }, + { type: 'array', element: { type: 'string' } }, + ], + }, defaultValue: "[{text: 'Sample text 1'}]", }, }, @@ -125,7 +128,7 @@ export const listviewConfig = { }, styles: { backgroundColor: { - type: 'colorSwatches', + type: 'color', displayName: 'Background color', validation: { schema: { type: 'string' }, @@ -133,7 +136,7 @@ export const listviewConfig = { }, }, borderColor: { - type: 'colorSwatches', + type: 'color', displayName: 'Border color', validation: { schema: { type: 'string' }, diff --git a/frontend/src/AppBuilder/WidgetManager/widgets/table.js b/frontend/src/AppBuilder/WidgetManager/widgets/table.js index 9f0c4fd723..facb62f7d4 100644 --- a/frontend/src/AppBuilder/WidgetManager/widgets/table.js +++ b/frontend/src/AppBuilder/WidgetManager/widgets/table.js @@ -275,7 +275,7 @@ export const tableConfig = { showOnMobile: { type: 'toggle', displayName: 'Show on mobile' }, }, defaultSize: { - width: 35, + width: 25, height: 456, }, events: { diff --git a/frontend/src/AppBuilder/Widgets/Kanban/Components/Item.jsx b/frontend/src/AppBuilder/Widgets/Kanban/Components/Item.jsx index 7b4b2a56cf..d147c1b135 100644 --- a/frontend/src/AppBuilder/Widgets/Kanban/Components/Item.jsx +++ b/frontend/src/AppBuilder/Widgets/Kanban/Components/Item.jsx @@ -81,7 +81,6 @@ export const Item = React.memo( >