diff --git a/src/app/tailwind.css b/src/app/tailwind.css index e1dbc70..a80eb27 100644 --- a/src/app/tailwind.css +++ b/src/app/tailwind.css @@ -745,6 +745,11 @@ body { margin-bottom: auto; } +.mx-0 { + margin-left: 0px; + margin-right: 0px; +} + .mb-6 { margin-bottom: 1.5rem; } @@ -769,10 +774,6 @@ body { margin-top: 0.5rem; } -.mt-20 { - margin-top: 5rem; -} - .mt-3 { margin-top: 0.75rem; } @@ -1117,6 +1118,10 @@ body { align-items: baseline; } +.justify-start { + justify-content: flex-start; +} + .justify-end { justify-content: flex-end; } @@ -1145,6 +1150,14 @@ body { gap: 1rem; } +.gap-0 { + gap: 0px; +} + +.gap-0\.5 { + gap: 0.125rem; +} + .gap-x-16 { -moz-column-gap: 4rem; column-gap: 4rem; @@ -1364,11 +1377,6 @@ body { background-color: transparent; } -.bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - .fill-current { fill: currentColor; } @@ -1675,10 +1683,6 @@ body { outline-style: solid; } -.ring-primary { - --tw-ring-color: hsl(var(--primary)); -} - .ring-offset-background { --tw-ring-offset-color: hsl(var(--background)); } diff --git a/src/app/ui/tables/data-table.tsx b/src/app/ui/tables/data-table.tsx index 6b9743a..c437ec5 100644 --- a/src/app/ui/tables/data-table.tsx +++ b/src/app/ui/tables/data-table.tsx @@ -38,7 +38,7 @@ import { TableHeader, TableRow, } from "@/components/ui/table" -import { EyeIcon, Trash2 } from "lucide-react" +import { CircleHelp, EyeIcon, Trash2 } from "lucide-react" import { usePathname, useSearchParams } from "next/navigation" import FormContextMenu from "./contextMenu" import { deleteRecord, deleteRecords } from "app/lib/del" @@ -132,13 +132,11 @@ export function DataTable({ const [filterBy, setFilterBy] = useState(table.getAllColumns()[0]) const [isContextMenuOpen, setIsContextMenuOpen] = useState(false) return (<> -
-
+
+
- + {/*@ts-ignore*/} @@ -157,6 +155,7 @@ export function DataTable({ onChange={(event) => table.getColumn(filterBy.id)?.setFilterValue(event.target.value) } + disabled={filterBy.id === "select"} className="max-w-sm" />