more table column styles

This commit is contained in:
Cole Goldsmith 2025-09-19 15:49:09 -05:00
parent 4291cf5d45
commit a5816046f3

View file

@ -149,6 +149,7 @@ function SearchPage() {
{ {
field: "avgScore", field: "avgScore",
headerName: "Avg score", headerName: "Avg score",
initialFlex: 0.5,
cellRenderer: ({ value }: CustomCellRendererProps<File>) => { cellRenderer: ({ value }: CustomCellRendererProps<File>) => {
return ( return (
<span className="text-xs text-green-400 bg-green-400/20 px-2 py-1 rounded"> <span className="text-xs text-green-400 bg-green-400/20 px-2 py-1 rounded">
@ -169,9 +170,8 @@ function SearchPage() {
}, },
colId: "actions", colId: "actions",
filter: false, filter: false,
width: 60, minWidth: 0,
minWidth: 60, width: 40,
maxWidth: 60,
resizable: false, resizable: false,
sortable: false, sortable: false,
initialFlex: 0, initialFlex: 0,