Skip to content

Commit

Permalink
fix: Cursor pointer only on title hover
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Nov 10, 2022
1 parent 804218e commit 8c784ab
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/configurator/components/dataset-browse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1060,18 +1060,17 @@ const useResultStyles = makeStyles((theme: Theme) => ({
root: {
position: "relative",
color: theme.palette.grey[700],
cursor: "pointer",
textAlign: "left",
padding: `${theme.spacing(4)} 0`,
borderTopColor: theme.palette.grey[300],
borderTopStyle: "solid",
borderTopWidth: 1,
boxShadow: "none",

"& .MuiTypography-body1": {},
},

title: {
display: "inline-block",
cursor: "pointer",
"&:hover": {
textDecoration: "underline",
},
Expand Down Expand Up @@ -1140,8 +1139,8 @@ export const DatasetResult = ({
const classes = useResultStyles();
return (
<MotionCard {...smoothPresenceProps} elevation={1} className={classes.root}>
<Stack spacing={2} sx={{ mb: 6 }}>
<Flex sx={{ justifyContent: "space-between" }}>
<Stack spacing={2} sx={{ mb: 6, alignItems: "flex-start" }}>
<Flex sx={{ justifyContent: "space-between", width: "100%" }}>
<Typography variant="body2" fontWeight={700} gutterBottom={false}>
{datePublished ? <DateFormat date={datePublished} /> : null}
</Typography>
Expand Down

1 comment on commit 8c784ab

@vercel
Copy link

@vercel vercel bot commented on 8c784ab Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

visualization-tool – ./

visualization-tool-ixt1.vercel.app
visualization-tool-alpha.vercel.app
visualization-tool-git-main-ixt1.vercel.app

Please sign in to comment.