Skip to content

Commit 3624736

Browse files
committed
fix(css): center <img> and <figure>
1 parent 530b0c5 commit 3624736

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

internal/ui/static/css/common.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,12 +1120,19 @@ article.category-has-unread {
11201120
height: auto;
11211121
}
11221122

1123+
.entry-content p > img:only-child {
1124+
display: block;
1125+
margin: auto;
1126+
}
1127+
11231128
.entry-content figure {
11241129
margin-top: 15px;
11251130
margin-bottom: 15px;
11261131
}
11271132

11281133
.entry-content figure img {
1134+
display: block;
1135+
margin: auto;
11291136
border: 1px solid #000;
11301137
}
11311138

0 commit comments

Comments
 (0)