Skip to content

Commit

Permalink
make more responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
chipanyanwu committed Nov 7, 2024
1 parent 4a81932 commit c35e0c3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Home/Task.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@ const Task = ({
/>
<ListItemText
primary={
<Box sx={{ display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
<Box
sx={{
display: 'flex',
flexDirection: ['column', 'row'],
alignItems: ['baseline', 'center'],
gap: '0.5rem',
}}
>
{task.name}
{task.due != undefined ? (
<Chip
Expand Down
9 changes: 9 additions & 0 deletions src/utils/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@ export const theme = createTheme({
typography: {
fontFamily: 'Roboto, sans-serif',
},
breakpoints: {
values: {
xs: 0,
sm: 600,
md: 900,
lg: 1200,
xl: 1536,
},
},
})

0 comments on commit c35e0c3

Please sign in to comment.