Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

Bug? Latest comments doesn't fit in layout

This discussion is related to the LatestComment addon.

Hello,

I use the standard default layout for vanilla 2, but for the "Latest Comments" plugin somehow the layout does not adapt. See my screenshot attached for details: twitpic.com/9c23s8

How can the plugin be changed so it displays the latest comments properly?

Thanks in advance, Robert

Best Answer

  • Answer ✓

    Hi,

    I had the same problem with this plugin. The list box for each latest comment was getting calculated at zero height. Comparing with other panel boxes didn't help. So I started fiddling with the css and content. Anyway to cut to the chase I think I've found the simplest solution. You need to add a nonbreaking space in each

    box for it to calculate the box height from the line-height property.

    In the plugin directory open the file class.latestcommentmodule.php

    At the moment on line 53 there is the last bit of the html markup for each list

    53    </span></strong></li>
    

    You need to add non breaking space at the start of this line.

    53    &nbsp;</span></strong></li>
    

    This worked for me and hopeful it'll be of help to others.

    Regards

    Adrian

Answers

Sign In or Register to comment.