diff --git a/src/shipping/components/ShippingMethodProductsAddDialog/ShippingMethodProductsAddDialog.tsx b/src/shipping/components/ShippingMethodProductsAddDialog/ShippingMethodProductsAddDialog.tsx index f0fff39fb..62ad3fefe 100644 --- a/src/shipping/components/ShippingMethodProductsAddDialog/ShippingMethodProductsAddDialog.tsx +++ b/src/shipping/components/ShippingMethodProductsAddDialog/ShippingMethodProductsAddDialog.tsx @@ -39,7 +39,11 @@ const useStyles = makeStyles( paddingLeft: 0 }, content: { - overflowY: "scroll" + overflowY: "scroll", + height: 450 + }, + searchBar: { + marginBottom: theme.spacing(3) }, loadMoreLoaderContainer: { alignItems: "center", @@ -125,104 +129,100 @@ const ShippingMethodProductsAddDialog: React.FC + - - - }} - /> - - - - - - } - scrollableTarget={scrollableTargetId} - > - - - {renderCollection( - products, - (product, productIndex) => { - const isSelected = selectedProducts.some( - selectedProduct => selectedProduct.id === product.id - ); - return ( - - - - {product && ( - - handleProductAssign( - product, - isSelected, - selectedProducts, - setSelectedProducts - ) - } - /> - )} - - - - {product?.name || } - - - - ); - }, - () => ( - - - - - - ) - )} - - - + +
+ + }} + /> +
+
+ + +
+ } + scrollableTarget={scrollableTargetId} + > + + + {renderCollection( + products, + (product, productIndex) => { + const isSelected = selectedProducts.some( + selectedProduct => selectedProduct.id === product.id + ); + return ( + + + + {product && ( + + handleProductAssign( + product, + isSelected, + selectedProducts, + setSelectedProducts + ) + } + /> + )} + + + + {product?.name || } + + + + ); + }, + () => ( + + + + + + ) + )} + + + +