Fix inline image rendering
For posts with inline images, we need to set a `max-height` so that high-resolution images don't take up too much vertical space when rendering. This only affects images in `.status__content__text`, so it doesn't affect image galleries at all. Also adding a margin to the bottom for nicer spacing. Fixes #1145.
This commit is contained in:
parent
c73b54a1da
commit
2b9f8d25e3
|
@ -781,6 +781,11 @@
|
||||||
margin: -3px 0 0;
|
margin: -3px 0 0;
|
||||||
}
|
}
|
||||||
.status__content__text {
|
.status__content__text {
|
||||||
|
img {
|
||||||
|
max-height: 300px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
p,
|
p,
|
||||||
pre,
|
pre,
|
||||||
blockquote {
|
blockquote {
|
||||||
|
|
Loading…
Reference in New Issue