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:
@@ -26,10 +26,15 @@ interface NumericKeypadProps {
|
|||||||
*/
|
*/
|
||||||
function getPortraitStyles(isDark: boolean): string {
|
function getPortraitStyles(isDark: boolean): string {
|
||||||
return `
|
return `
|
||||||
|
.keypad-portrait {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.keypad-portrait .simple-keyboard {
|
.keypad-portrait .simple-keyboard {
|
||||||
background: ${isDark ? '#1a1a1a' : '#f5f5f5'};
|
background: ${isDark ? '#1a1a1a' : '#f5f5f5'};
|
||||||
padding: 4px 2px;
|
padding: 4px 2px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
width: 100%;
|
||||||
|
max-width: none;
|
||||||
}
|
}
|
||||||
.keypad-portrait .hg-row {
|
.keypad-portrait .hg-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user