We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24778b5 commit e287c1bCopy full SHA for e287c1b
1 file changed
front/src/pods/embalse/components/reservoir-card-gauge.tsx
@@ -11,7 +11,10 @@ export const ReservoirCardGauge: React.FC<Props> = (props) => {
11
const percentage = totalCapacity > 0 ? currentVolume / totalCapacity :
12
0;
13
return (
14
- <section className="card bg-base-100 mx-auto w-full max-w-[400px] items-center gap-6 rounded-2xl p-4 shadow-lg">
+ <section
15
+ className="card bg-base-100 mx-auto w-full items-center gap-6 rounded-2xl p-4 shadow-lg"
16
+ aria-labelledby="gauge-title"
17
+ >
18
<h2 className="text-center">{name}</h2>
19
<GaugeChart percentage={percentage > 100 ? 100 : percentage} measurementDate=
20
{measurementDate} />
0 commit comments