more table column styles
This commit is contained in:
parent
4291cf5d45
commit
a5816046f3
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue