Skip to content

Commit

Permalink
feat: tweak drawer size and settings title
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-kiss committed Jun 8, 2024
1 parent 2cd57cb commit e100408
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ export const SettingsComponent: React.FC<SettingsComponentProps> = ({
return (
<>
<Drawer open={open} onClose={handleClose} title={'Settings'} anchor='right' BackdropProps={{ invisible: true }}>
<List dense>
<List dense sx={{ minWidth: '375px' }}>
<ListItem>
<ListItemButton onClick={handleClose} sx={{ padding: '0px' }}>
<ListItemIcon>
<CloseIcon />
</ListItemIcon>
</ListItemButton>
<ListItemText sx={{ padding: '0px 32px' }}>Channel Settings</ListItemText>
<ListItemText sx={{ padding: '0px 32px' }}>Community Settings</ListItemText>
</ListItem>
<Divider />
<ListItemButton data-testid={'about-settings-tab'} onClick={() => handleChange('about')}>
Expand Down Expand Up @@ -107,7 +107,7 @@ export const SettingsComponent: React.FC<SettingsComponentProps> = ({
</IconButton>
</Box>
<Divider />
<Box p={2} minWidth={240}>
<Box p={2} minWidth={375}>
{TabComponent && <TabComponent />}
</Box>
</Drawer>
Expand Down

0 comments on commit e100408

Please sign in to comment.