code.lukegrehan.com envbudget / de8e8f2
change cursor Luke Grehan 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8383 const maybeTotal = (env.total === null || env.total === undefined) ? "" : <span className="text-muted">/{env.total.format()}</span>;
8484 const maybeDeleteFooter = (!showDelete)?"":<DeleteButton action={del(idx)}/>
8585
86 return <Card className="text-center" text={text} bg={variant} style={{ minWidth: "10rem" }} >
86 return <Card className="text-center" text={text} bg={variant} style={{ minWidth: "10rem", cursor: "pointer" }} >
8787 <Card.Header onClick={onClick}>{env.name}</Card.Header>
8888 <Card.Body onClick={onClick}>
8989 {env.val.format()}{maybeTotal}