Skip to content

Commit

Permalink
Improve display of images in shuoshuo preview
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Jan 6, 2022
1 parent 9cd9aad commit bf7022a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ article img,
max-width: 100%;
height: auto;
}
.shuoshuo-preview-container img {
border-radius: var(--card-radius);
}
.shuoshuo-preview-container p + p > img:first-child {
margin-top: 12px;
}
article .wp-block-image figcaption,
.shuoshuo-preview-container .wp-block-image figcaption {
text-align: center;
Expand Down

0 comments on commit bf7022a

Please sign in to comment.