Fixed Attachments in conversations not responsive

Arty

Well-known member
Attachments in conversations are not responsive. Screenshot of attachment with small browser width:

attachment.webp

Solution: add this to conversation.css
Code:
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveMediumWidth)
{
   .Responsive .conversation_view .message .attachment
   {
     width: 100%;
   }
}
</xen:if>
Used medium instead of narrow width because at resolution slightly bigger than default narrow width attachments still look squashed.
 
Fixed now, but adjusted in a slightly different way so that the standard responsive attachment CSS kicks in.
 
Back
Top Bottom