We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a9d7fa commit c198750Copy full SHA for c198750
application/CohortManager/src/Web/app/components/card.tsx
@@ -14,7 +14,10 @@ export default function Card({
14
url,
15
}: Readonly<CardProps>) {
16
return (
17
- <div className="nhsuk-card nhsuk-card--clickable" data-testid="card">
+ <div
18
+ className={`nhsuk-card${value > 0 ? " nhsuk-card--clickable" : ""}`}
19
+ data-testid="card"
20
+ >
21
<div className="nhsuk-card__content">
22
<p
23
className="nhsuk-heading-xl nhsuk-u-font-size-64 nhsuk-u-margin-bottom-1"
0 commit comments