Enhance modal components with consistent button sizes and improve calendar styles for better responsiveness and layout

This commit is contained in:
Mo Tarbin
2025-08-23 17:15:18 -04:00
parent 65f84b116f
commit 0f125cd63f
21 changed files with 346 additions and 30 deletions

View File

@@ -759,7 +759,12 @@ const TaskInput = ({ autoFocus, onChoreUpdate, isModalOpen, onClose }) => {
gap: 1,
}}
>
<Button variant='outlined' color='neutral' onClick={handleCloseModal}>
<Button
size='lg'
variant='outlined'
color='neutral'
onClick={handleCloseModal}
>
Cancel
{showKeyboardShortcuts && (
<KeyboardShortcutHint
@@ -769,7 +774,7 @@ const TaskInput = ({ autoFocus, onChoreUpdate, isModalOpen, onClose }) => {
/>
)}
</Button>
<Button variant='solid' color='primary' onClick={createChore}>
<Button size='lg' variant='solid' color='primary' onClick={createChore}>
Create
{showKeyboardShortcuts && (
<KeyboardShortcutHint shortcut='Enter' sx={{ ml: 1 }} />