From 10fbfa453f175d713d24ccce223ff51d6311f78f Mon Sep 17 00:00:00 2001 From: galenwinsor Date: Thu, 27 Jun 2024 15:14:50 -0400 Subject: [PATCH] refactor: checkbox and table styling --- src/components/DataTable.tsx | 52 +++++++++++++++++++----------------- src/styles/global.css | 7 +++-- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/src/components/DataTable.tsx b/src/components/DataTable.tsx index c1f525e..1e84dc7 100644 --- a/src/components/DataTable.tsx +++ b/src/components/DataTable.tsx @@ -35,11 +35,11 @@ const DataTable: React.FC = ({ allFiles, updateFileList }) => { return ( -
+
handleSelect(selected, i)} > @@ -64,30 +64,32 @@ const DataTable: React.FC = ({ allFiles, updateFileList }) => { }) return ( - - - - - - - - - +
+
- - - - - - File Name - CategoryDescriptionFile
+ + + + + + + + - {selectedFiles} -
+ + + + + + File Name + CategoryDescriptionFile
+ {selectedFiles} + +
) } export default DataTable diff --git a/src/styles/global.css b/src/styles/global.css index b891bf0..e109efe 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -133,11 +133,14 @@ button[role="checkbox"] { @apply bg-neutral-50; @apply justify-center; - @apply shadow-md; - @apply rounded-md; + @apply rounded-none; @apply text-neutral-900; } + button[role="checkbox"]:hover { + @apply shadow-none; + } + th { @apply font-bold; @apply px-4;