From be6ba8deffffcfd023f3916f7f17535acc0e984e Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 29 Jul 2022 10:56:15 +0200 Subject: [PATCH] Fix button color + standardise class names --- .../store/categories/manage-product-category.tsx | 4 ++-- .../store/categories/product-categories-item.tsx | 2 +- .../modules/store/product-categories.scss | 8 ++++---- .../supporting-documents-files.scss | 12 ++++++++---- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/app/frontend/src/javascript/components/store/categories/manage-product-category.tsx b/app/frontend/src/javascript/components/store/categories/manage-product-category.tsx index 068c5294f..bf6be5028 100644 --- a/app/frontend/src/javascript/components/store/categories/manage-product-category.tsx +++ b/app/frontend/src/javascript/components/store/categories/manage-product-category.tsx @@ -54,12 +54,12 @@ export const ManageProductCategory: React.FC = ({ pr case 'update': return (} - className="edit-button" + className="edit-btn" onClick={toggleModal} />); case 'delete': return (} - className="delete-button" + className="delete-btn" onClick={toggleModal} />); } }; diff --git a/app/frontend/src/javascript/components/store/categories/product-categories-item.tsx b/app/frontend/src/javascript/components/store/categories/product-categories-item.tsx index 9799eed14..ac0bed4cb 100644 --- a/app/frontend/src/javascript/components/store/categories/product-categories-item.tsx +++ b/app/frontend/src/javascript/components/store/categories/product-categories-item.tsx @@ -36,7 +36,7 @@ export const ProductCategoriesItem: React.FC = ({ pr

{category.name}

[count] -
+