Skip to content

Commit

Permalink
Merge pull request #310 from narayan954/deepsource-transform-dff690b0
Browse files Browse the repository at this point in the history
format code with prettier
  • Loading branch information
narayan954 authored May 23, 2023
2 parents 6324076 + 49ef40c commit abb900f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/components/Post.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ function Post(prop) {
{postHasImages ? (
<ImageSlider slides={postImages} isCommentBox={false} />
) : (
<div className="post__background"><p className="post_caption">{caption}</p></div>
<div className="post__background">
<p className="post_caption">{caption}</p>
</div>
)}
<div className="post__text">
{caption && postHasImages && (
Expand Down Expand Up @@ -425,7 +427,9 @@ function Post(prop) {
{postHasImages ? (
<ImageSlider slides={postImages} isCommentBox />
) : (
<div className="post__background"><p className="post_caption">{caption}</p></div>
<div className="post__background">
<p className="post_caption">{caption}</p>
</div>
)}
</Item>
</Grid>
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
position: relative;
}

.post_caption{
.post_caption {
width: 24em;
padding: 8px;
font-weight: 600;
Expand Down

0 comments on commit abb900f

Please sign in to comment.