Skip to content

Commit

Permalink
aligned posts content for xs screens [Post.tsx]
Browse files Browse the repository at this point in the history
  • Loading branch information
Meneguini authored and humphd committed Apr 16, 2021
1 parent 9f611b5 commit 53701e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/web/src/components/Posts/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,19 @@ const useStyles = makeStyles((theme: Theme) =>
overflow: 'auto',
padding: '1em',
color: theme.palette.text.primary,
backgroundColor: theme.palette.background.default,
// backgroundColor: theme.palette.background.default,
backgroundColor: 'lightblue',
width: '95%',
'& a': {
color: theme.palette.action.active,
},
'& a:visited': {
color: theme.palette.action.selected,
},
[theme.breakpoints.down(600)]: {
padding: '.5em',
width: 'auto',
},
},
})
);
Expand Down

0 comments on commit 53701e0

Please sign in to comment.