Skip to content

Commit 5f398fe

Browse files
raifdmuellerclaude
andcommitted
fix: remove !important, increase max-height, compute maxR from size
- Remove border-width !important from card hover - Increase measuresWrapper max-height to 2000px (prevents clipping) - Compute maxR from size instead of hardcoded 130 Closes #16 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b933121 commit 5f398fe

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/MitigationCard.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
.card:not(.cardInactive):hover {
1212
transform: translateY(-2px) scale(1.01);
1313
box-shadow: 0 6px 24px -4px rgba(0, 0, 0, 0.25);
14-
border-width: 2px !important;
1514
filter: brightness(1.08);
1615
}
1716

@@ -75,7 +74,7 @@
7574
}
7675

7776
.measuresWrapperOpen {
78-
max-height: 600px;
77+
max-height: 2000px;
7978
transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
8079
}
8180

src/components/RadarChart.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default function RadarChart({
125125

126126
const cx = size / 2;
127127
const cy = size / 2;
128-
const maxR = 130;
128+
const maxR = size / 2 - 100;
129129
const levels = 5;
130130
const n = safeDims.length || 1; // prevents division by zero
131131
const angStep = 360 / n;

0 commit comments

Comments
 (0)