From dcd94e355cb1931d9ce155f250138ed748a8ed3d Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 22 May 2022 08:59:07 +0430 Subject: [PATCH] update Tabbar.js, BasicTable.js and EditRow.js --- src/components/Tabels/ReactTable4/Tabbar.js | 12 ++++--- .../Tabels/ReactTable5/BasicTable.js | 12 ++----- src/components/Tabels/ReactTable5/EditRow.js | 31 +++---------------- 3 files changed, 15 insertions(+), 40 deletions(-) diff --git a/src/components/Tabels/ReactTable4/Tabbar.js b/src/components/Tabels/ReactTable4/Tabbar.js index 2630e28..af82bdb 100644 --- a/src/components/Tabels/ReactTable4/Tabbar.js +++ b/src/components/Tabels/ReactTable4/Tabbar.js @@ -32,11 +32,13 @@ const Tabbar = ({ tabs, delTab, setActivateTab, activeTab }) => { if (window.isDown) return e.preventDefault(); }} aria-current="page" - className="flex flex-row items-center text-sm text-center active rounded-sm px-4" - style={{ - backgroundColor: activeTab === el.id ? "#92c1fc" : "#F1F6FF", - color: activeTab === el.id ? "#fff" : "#000", - }} + className={`flex flex-row items-center text-lg text-center active rounded-sm p-20 ${ + activeTab === el.id ? "bg-[#fff]" : "bg-[#000]" + } ${activeTab === el.id ? "bg-[#92c1fc]" : "bg-[#F1F6FF]"}`} + // style={{ + // backgroundColor: activeTab === el.id ? "#92c1fc" : "#F1F6FF", + // color: activeTab === el.id ? "#fff" : "#000", + // }} >
setActivateTab(el.id)}> {el.name} diff --git a/src/components/Tabels/ReactTable5/BasicTable.js b/src/components/Tabels/ReactTable5/BasicTable.js index 54196b4..bd7c7f6 100644 --- a/src/components/Tabels/ReactTable5/BasicTable.js +++ b/src/components/Tabels/ReactTable5/BasicTable.js @@ -36,8 +36,7 @@ export const SelectColumnFilter = ({ return (