XF 1.4 Image size in thread

crogoon

Member
To prevent displaying huge images in threads I've put this in extra.css to reduce the width of images:
Code:
.message .messageContent .messageText img { max-width: 30%; }


The problem is that this also applies when using my custom BBcode for float.
Code:
<div style="float: left; margin-right: 6px; clear: both;">{text}</div>

This is what float left currently looks like. :unsure:
float.webp

Is there a way to prevent this?
 
Top Bottom