Skip to content

Commit

Permalink
style: reduce tab size
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Jan 27, 2025
1 parent f7aad66 commit 81c2b15
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,19 @@ export const ScheduleManagementTab = ({ tab, value }: ScheduleManagementTabProps
icon={tab.icon}
iconPosition={isMobile ? 'top' : 'start'}
sx={{
...(!isMobile
...(isMobile
? {
minHeight: 'unset',
minWidth: '25%',
height: 56,
}
: {
minHeight: 'auto',
height: '44px',
padding: 3,
minWidth: '33%',
}
: { minWidth: '25%' }),
display: !isMobile && tab.mobile ? 'none' : 'flex',
}),
display: isMobile || !tab.mobile ? 'flex' : 'none',
...(isDark ? { '&.Mui-selected': { color: 'white' } } : {}),
}}
label={tab.label}
Expand Down

0 comments on commit 81c2b15

Please sign in to comment.