style: make RecentEntries table header button square

This commit is contained in:
Thomas Bishop 2025-07-29 17:57:06 +01:00
parent c098bfc044
commit 05c06ace8a

View file

@ -1,4 +1,3 @@
import { RecentEditsDataTable } from "@/components/RecentEditsDataTable"
import { useQuery } from "@tanstack/react-query" import { useQuery } from "@tanstack/react-query"
import api from "../api/eolas-api" import api from "../api/eolas-api"
import { Link } from "react-router" import { Link } from "react-router"
@ -13,6 +12,7 @@ const columns = [
return ( return (
<Button <Button
variant="ghost" variant="ghost"
className="rounded-none"
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")} onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
> >
Title Title
@ -20,7 +20,6 @@ const columns = [
</Button> </Button>
) )
}, },
// header: "Title",
cell: ({ cell, row }) => { cell: ({ cell, row }) => {
return ( return (
<Link to={`entries/${row.original.title}`}> <Link to={`entries/${row.original.title}`}>