Item2477: Cosmetic issue when %TOC% used with Extensions.EditChapterPlugin
Priority: Low
Current State: Closed
Released In:
Target Release: n/a
On IRC ichbinsnuhr
reported an issue with heading links in the %TOC% when
EditChapterPlugin is active. There is extra underlining after the links as per the screenshot. The headings in the TOC have the same ecpHeading class applied as the headings within the topic, but with the pencil image suppressed. I've found the same problem so I think it is an issue with the css used.
A workaround is to change pub/System/EditChapterPlugin/ecpstyles.css to remove the padding when used in conjunction with foswikiToc, as the image is already suppressed this way.
--- ecpstyles.css.orig 2009-12-07 11:55:01.000000000 +0000
+++ ecpstyles.css 2009-12-07 11:51:50.000000000 +0000
@@ -28,6 +28,7 @@
}
.foswikiToc .ecpHeading {
display:inline;
+ padding-right:0px;
}
/* debugging */
.ecpChapter {
The fix works for me but I can't say it's the right one
- Screenshot of extra padding on TOC links:
This was fixed with
http://trac.foswiki.org/changeset/6292