Skip to content

Commit

Permalink
chore: mui data grid cursor pointer on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-vm committed Oct 9, 2023
1 parent ac032da commit 5930460
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ export const WorkflowRunsTable: React.FC<Props> = ({
"&.MuiDataGrid-root .MuiDataGrid-cell:focus": {
outline: "none",
},
"& .MuiDataGrid-row:hover": {
cursor: "pointer",
},
}}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,14 @@ export const WorkflowList: React.FC = () => {
disableColumnSelector
slots={{ noRowsOverlay: NoDataOverlay }}
sx={{
// disable cell selection style
"&.MuiDataGrid-root .MuiDataGrid-cell:focus": {
outline: "none",
},
// pointer cursor on ALL rows
"& .MuiDataGrid-row:hover": {
cursor: "pointer",
},
}}
/>
</Paper>
Expand Down

0 comments on commit 5930460

Please sign in to comment.