• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Attachments in conversations not responsive

Arty

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

attachment.png

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.
 

Mike

XenForo developer
Staff member
#2
Fixed now, but adjusted in a slightly different way so that the standard responsive attachment CSS kicks in.