fix(practice): ensure keypad spans full screen width

Added explicit width: 100% and max-width: none to override
react-simple-keyboard defaults that may constrain width.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-12-11 09:04:26 -06:00
parent ee8dccd83a
commit 4b8cbdf83c
1 changed files with 5 additions and 0 deletions

View File

@ -26,10 +26,15 @@ interface NumericKeypadProps {
*/
function getPortraitStyles(isDark: boolean): string {
return `
.keypad-portrait {
width: 100%;
}
.keypad-portrait .simple-keyboard {
background: ${isDark ? '#1a1a1a' : '#f5f5f5'};
padding: 4px 2px;
border-radius: 0;
width: 100%;
max-width: none;
}
.keypad-portrait .hg-row {
display: flex;