Skip to content

Commit

Permalink
Fix for no margin between author name and date
Browse files Browse the repository at this point in the history
  • Loading branch information
lyu4321 committed Oct 4, 2021
1 parent 572d650 commit 5d3569b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/web/src/components/Posts/PostInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const useStyles = makeStyles((theme: Theme) =>
},
authorNameContainer: {
width: '100%',
height: '3rem',
marginLeft: '1rem',
},
author: {
Expand All @@ -49,6 +48,9 @@ const useStyles = makeStyles((theme: Theme) =>
textDecorationLine: 'underline',
},
},
postDate: {
lineHeight: '1rem',
},
published: {
marginLeft: '1rem',
fontSize: '1.2em',
Expand Down Expand Up @@ -84,7 +86,7 @@ const PostDesktopInfo = ({ authorName, postDate, blogUrl, postUrl }: Props) => {
</a>
</p>
</div>
<div>
<div className={classes.postDate}>
<a href={postUrl} rel="bookmark" className={classes.published}>
<time className={classes.time} dateTime={postDate}>
{postDate}
Expand Down

0 comments on commit 5d3569b

Please sign in to comment.