Skip to content

Commit 0957ce3

Browse files
cjw6kclaude
andcommitted
fix: Increase tutorial annotation label size for readability
Reduced distanceFactor from 10 to 6 and increased text from text-sm to text-base so labels near Earth are easier to read. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 31a6904 commit 0957ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tidal-harmonics/src/components/tutorial/AnnotationLayer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ export function AnnotationLayer() {
1717
key={annotation.id}
1818
position={annotation.position}
1919
center
20-
distanceFactor={10}
20+
distanceFactor={6}
2121
occlude={false}
2222
style={{
2323
pointerEvents: 'none',
2424
userSelect: 'none',
2525
}}
2626
>
2727
<div
28-
className={`px-3 py-1.5 rounded-lg text-sm whitespace-nowrap
28+
className={`px-3 py-2 rounded-lg text-base whitespace-nowrap
2929
${
3030
annotation.style === 'highlight'
3131
? 'bg-blue-600 text-white font-medium'

0 commit comments

Comments
 (0)