XF 2.2 Stop inserted images from stretching to width of post?

philmckrackon

Well-known member
When using "Insert Image (Ctrl+P)" the image is stretched to the full width of the message, how do I keep it from stretching? It looks better when in edit mode.

Stretched (below)

strecthed.JPG

Normal size below

actual.JPG

Insert image button below

insert.JPG
 
If my recall is correct, I think I fixed this once in a 3rd party style by adding the following to ther extra.less template of that style. But it's been a minute.

Code:
.message-body img {
max-width: 100% !important;
max-height: 350px !important;
}
 
Last edited:
Back
Top Bottom