bug in Recent Entries

Found a bug? Tell us!!
Post Reply
dmg

bug in Recent Entries

Post by dmg »

THis might not classify as a bug, but here it is:

the Recent Entries plug in outputs a <br/> after each entry.

It looks like the only reason to do this is to get more spacing between different entries. The problem is that it is difficult to change this spacing. I suggest that that is left to the CSS style. The <div> wrapping the data is already producing a breakline. The style can manipulate the marging-bottom of this, rather than relying on hardcoded elemenets such as <br>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: bug in Recent Entries

Post by garvinhicking »

Sadly this would break the look on most blogs, where the design usually looks alright.

I instead suggest you to adapt the plugin on your own side. As every sidebar plugin has its own unique div you could make somtething like this in your CSS:

Code: Select all

#serendipity_plugin_recententries br {
display: none;
}
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply