Skip to content

Commit

Permalink
fixing styles for mobile blog
Browse files Browse the repository at this point in the history
Signed-off-by: Rakesh PR <rakesh.pr@mayadata.io>
  • Loading branch information
rakeshPRaghu authored and kmova committed Sep 28, 2021
1 parent 4cb3b98 commit bb25212
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions website/src/pages/BlogPage/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ const useStyles = makeStyles((theme: Theme) => ({
},
'& ul, & ol': {
'& li': {
fontSize: '1rem',
color: theme.palette.text.secondary,
lineHeight: '22px',
position: 'relative',
},
'& li:not(:last-child)': {
Expand All @@ -189,6 +187,13 @@ const useStyles = makeStyles((theme: Theme) => ({
},
},
},
'& li': {
fontSize: '1rem',
lineHeight: '22px',
'& ul, & ol': {
margin: theme.spacing(1, 0),
},
},
'& h2': {
fontSize: '2rem',
lineHeight: '50px',
Expand Down Expand Up @@ -242,7 +247,7 @@ const useStyles = makeStyles((theme: Theme) => ({
fontSize: '0.875rem',
lineHeight: '20px',
},
'& ul li': {
'& li': {
fontSize: '0.875rem',
lineHeight: '20px',
},
Expand Down

0 comments on commit bb25212

Please sign in to comment.