Skip to content

Commit

Permalink
feat: smaller number size, add class on input
Browse files Browse the repository at this point in the history
  • Loading branch information
SlikSlaks committed Dec 11, 2023
1 parent b4c4f5d commit a0c381e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function Cell({
textAnchor="start"
dominantBaseline="hanging"
style={{
fontSize: '50%',
fontSize: '45%',
fill: focus ? focusNumberColor : numberColor,
}}
>
Expand Down
1 change: 1 addition & 0 deletions src/CrosswordGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export default function CrosswordGrid({ theme }: CrosswordGridProps) {
spellCheck="false"
autoCorrect="off"
style={inputStyle}
className="crossword-input"
/>
</div>
</GridWrapper>
Expand Down
2 changes: 1 addition & 1 deletion src/CrosswordProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ const CrosswordProvider = React.forwardRef<
}
});
},
[data, getCellData, notifyAnswerComplete]
[data, focused, getCellData, notifyAnswerComplete]
);

// Any time the checkQueue changes, call checkCorrectness!
Expand Down

0 comments on commit a0c381e

Please sign in to comment.