Skip to content

Commit

Permalink
fix falling word backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
HamburgJ committed Dec 23, 2024
1 parent 6f5a1d3 commit 5b86529
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/FallingWords.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ const FallingWords: React.FC = () => {
transform: `scale(${ANIMATION_CONFIG.WORD_SCALE})`,
transition: 'none',
willChange: 'transform',
background: 'var(--primary)',
color: 'var(--on-primary)',
padding: '0.15rem 0.75rem',
borderRadius: '0.25rem',
fontSize: '0.8rem',
boxShadow: 'var(--elevation-1)',
display: 'inline-flex',
alignItems: 'center',
gap: '0.5rem',
width: 'fit-content',
}}
>
{word.text}
Expand Down

0 comments on commit 5b86529

Please sign in to comment.