Skip to content

Commit

Permalink
PLANET-6822 Fix author block image margins (#1743)
Browse files Browse the repository at this point in the history
Without this fix, if the bio info is too short the image takes more space and the block looks weird
  • Loading branch information
mleray authored Jun 16, 2022
1 parent 4b5d995 commit 66ada84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/src/scss/pages/post/_author-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@
.author-block-image {
width: 200px;
height: 200px;
margin: auto;

img {
width: 100%;
border-radius: 50%;
object-fit: cover;
}

@include small-and-less {
margin: auto;
}
}

.author-block-info-name {
Expand Down

0 comments on commit 66ada84

Please sign in to comment.