Question to karma-voting - perhaps a bug

Creating and modifying plugins.
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Question to karma-voting - perhaps a bug

Post by stm999999999 »

In the karma-display in the entry-footer is a <br /> which I do not know why:

Code: Select all

<div class="serendipity_karmaVoting"><br /><a id="karma_vote22"></a><span class="serendipity_karmaVoting_text">Karma dieses Eintrags: </span> <span class="serendipity ...
Is there a sense or is it a bug? For me it is a problem, because it makes a space before the karma-text, which I do not like :-)
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Question to karma-voting - perhaps a bug

Post by garvinhicking »

Hi!

It's there for BC, sadly, to force a line-break. Because in some themes the karmavoting class has gotten special support, but they offer no top-margin so that they would break if we removed that BR.

Having said that, you can simply use:

Code: Select all

.serendipity_karmaVoting 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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

Hm, komisch, das ergibt bei mir auch einen ärgerlichen Effekt: Das ganze ist kein Block mehr sondern alles stünde nebeneinander. Also werde ich das wohl lassen wie es ist.

Hm, crazy, it makes an error on my site, too.

The whole karma-things are not a block anymore, they are all in a line. So, I will let it as before.
Ciao, Stephan
Post Reply