From 5336619479a8c8fe20d020bfe9dbb3f3c119d6a8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2022 09:22:50 +0430 Subject: [PATCH] update 5 files --- src/components/ReactTable5/BasicTable.js | 3 ++- src/components/ReactTable5/ViewEdit.js | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/ReactTable5/BasicTable.js b/src/components/ReactTable5/BasicTable.js index 4197396..b308891 100644 --- a/src/components/ReactTable5/BasicTable.js +++ b/src/components/ReactTable5/BasicTable.js @@ -174,7 +174,8 @@ const BasicTable = ({ addTab, activeTab }) => { border={"border-0"} borderRadius={"rounded"} fontSize={"text-xs"} - padding={"p-2"} + paddingX={"p-3"} + paddingY={"p-3"} text={ chekedItems.length < page.length ? "انتخاب همه" : "حذف انتخاب" } diff --git a/src/components/ReactTable5/ViewEdit.js b/src/components/ReactTable5/ViewEdit.js index b782776..50f8d78 100644 --- a/src/components/ReactTable5/ViewEdit.js +++ b/src/components/ReactTable5/ViewEdit.js @@ -14,7 +14,8 @@ const ViewEdit = ({ row }) => { border={"border-0"} borderRadius={"rounded"} fontSize={"text-xs"} - padding={"p-2"} + paddingX={"p-3"} + paddingY={"p-3"} icon={null} text={"نمایش"} {...row.getToggleRowExpandedProps()} @@ -29,7 +30,8 @@ const ViewEdit = ({ row }) => { borderColor={"border-blue-600"} borderRadius={"rounded"} fontSize={"text-xs"} - padding={"p-2"} + paddingX={"p-3"} + paddingY={"p-3"} icon={null} text={"ویرایش"} onClick={() => setSelectedTab(true)}