Skip to content

Commit

Permalink
Merge pull request #33 from shreyas1434shinde/centerSession
Browse files Browse the repository at this point in the history
Issue #PS-1333 fix: Select Topic Sub-topic modal UI Implementation
  • Loading branch information
itsvick authored Jul 19, 2024
2 parents f7e6ffc + f6c237f commit d5f1280
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/SelectTopic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ function SelectTopic() {
style={{ borderRadius: '4px' }}
className="topic-select"
>
{/* <MenuItem value={'Mathematics'}>
<MenuItem value={'Food & Nutrition'}>
<Checkbox
sx={{
'&.Mui-checked': {
color: theme?.palette?.warning['300'],
},
}}
checked={selectedValues.indexOf('Mathematics') > -1}
checked={selectedValues.indexOf('Food & Nutrition') > -1}
/>
<ListItemText primary="Mathematics" />
<ListItemText primary="Food & Nutrition" />
</MenuItem>

{/* Add more MenuItem components as needed */}
</Select>
</FormControl>
Expand Down
2 changes: 1 addition & 1 deletion src/components/TopicDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const TopicDetails = () => {
const theme = useTheme<any>();
return (
<>
<Box sx={{ padding: '8px 10px' }}>
<Box sx={{ padding: '8px 16px' }}>
<Box
sx={{
background: theme?.palette?.action?.selected,
Expand Down

0 comments on commit d5f1280

Please sign in to comment.