Project:Chessboard Renderer
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

While trying the chessboard with Andreas09 theme, I found that the images of the squares had borders and paddings. This was due to a "#content img" tag which has already been removed from Andreas09 in the head version because of probems with TinyMCE (http://drupal.org/node/67472). So far so good.

However, even after removing that, the line spacing was wrong. I found that it can be corrected by adding

line-height: 1em

in chessboard.css, in div.chessboard. I think this is useful for all themes which change the line height and I can't think of any undesirable side effects.

Comments

#1

Here's an example link with my CSS suggestions. Not sure how long it will stay there -- probably a few weeks.

http://dru47.cogville.com/taxonomy/term/10

#2

Status:active» needs work

Dear CogRusty,

So glad to get your suggestion! I have been extremely busy these weeks to update the code... but I've tested it once locally with the corrected CSS. I'll update the code soon. As you can see... I use 'font-size: 0;' at the moment but I also found it's not always effective. So thanks for the answer! :)

I hope I can extend/rewrite it to make the module to be able to play a PGN game...

#3

Hi vyvee

I noticed that I had taxonomy access control enabed on that test site, not sure at what point. So, I am not sure if you ever saw my example. The link works now.

#4

I indeed failed to see your example a few days ago, but just saw it just now. Wow! It's great! Saw the chess diagrams from other programs too.

#5

If you install Andreas01 (some other themes also have this problem) you will see how the new lines in .chessboard img fix one problem and the new line in div.chessboard fix a second problem.

#6

Status:needs work» closed (won't fix)

Chessboard 4.7 is not supported anymore.

nobody click here