theme: fix img width
the width of image should take padding into account
This commit is contained in:
parent
4cd4f72e25
commit
1c6fa0ec7d
|
@ -275,7 +275,7 @@ h5 {
|
||||||
|
|
||||||
.post img,
|
.post img,
|
||||||
.content img {
|
.content img {
|
||||||
max-width: 100%;
|
max-width: calc(100% - 10px);
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue