Skip to content

Commit

Permalink
No Pointer style cursor for table head when no hint or sorting (gregn…
Browse files Browse the repository at this point in the history
…b#910)

* No Pointer style cursor when no hint or sorting

With no sorting or a hint, the cursor still shows a pointer. I'm not saying this is the best solution, but I think the header shouldn't shouldn't show a pointer style of cursor when there is nothing to click on or additional behavior from hovering.

* Update TableHeadCell.js
  • Loading branch information
lalong13 committed Jan 15, 2020
1 parent 77fec8c commit 8be1f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TableHeadCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class TableHeadCell extends React.Component {
</span>
</Tooltip>
) : (
<div className={classes.sortAction}>
<div className={hint ? classes.sortAction : null}>
{children}
{hint && (
<Tooltip
Expand Down

0 comments on commit 8be1f05

Please sign in to comment.