I get cURL timeouts arbitrarily in my Docker environment for whatever reason. Anyways, it causes proxied attachments to fail to load sometimes. When this happens, the <img> is loaded with its intrinsic width and height, breaking the container. You fix this by:
img.--is-error {
width: 100%;
}
Apparently max-width: 100% isn't working how I thought..? Perhaps I should always just use width: 100%, then..? I'm not sure how that works with maintaining the aspect ratio, so some investigation is needed.
I get cURL timeouts arbitrarily in my Docker environment for whatever reason. Anyways, it causes proxied attachments to fail to load sometimes. When this happens, the
<img>
is loaded with its intrinsic width and height, breaking the container. You fix this by:Apparently
max-width: 100%
isn't working how I thought..? Perhaps I should always just usewidth: 100%
, then..? I'm not sure how that works with maintaining the aspect ratio, so some investigation is needed.