Skip to content

Commit 4d07550

Browse files
Copilotjessephus
andcommitted
Fix highlight alignment by removing problematic CSS transforms
Co-authored-by: jessephus <[email protected]>
1 parent de1069e commit 4d07550

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

styles.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,7 @@ header h1 {
207207
}
208208

209209
.flute-key-svg .key-highlight {
210-
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
211-
transform-origin: center;
212-
will-change: transform;
210+
transition: opacity 0.2s ease-in-out;
213211
}
214212

215213
.flute-key-svg .key-highlight.hit-pulse {
@@ -218,15 +216,12 @@ header h1 {
218216

219217
@keyframes hit-pulse-animation {
220218
0% {
221-
transform: scale(1);
222219
opacity: 1;
223220
}
224221
50% {
225-
transform: scale(1.3);
226222
opacity: 1;
227223
}
228224
100% {
229-
transform: scale(1);
230225
opacity: 0.9;
231226
}
232227
}

0 commit comments

Comments
 (0)