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:
parent
ee8dccd83a
commit
4b8cbdf83c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue