You are here: Foswiki>Tasks Web>Item2477 (01 Apr 2010, MartinRowe)Edit Attach

Item2477: Cosmetic issue when %TOC% used with Extensions.EditChapterPlugin

pencil
Priority: Low
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: EditChapterPlugin
Branches:
Reported By: MartinRowe
Waiting For:
Last Change By: MartinRowe
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 wink

  • Screenshot of extra padding on TOC links:
    q31608d99.png

UPDATED This was fixed with http://trac.foswiki.org/changeset/6292

ItemTemplate edit

Summary Cosmetic issue when %TOC% used with EditChapterPlugin
ReportedBy MartinRowe
Codebase 1.0.8
SVN Range
AppliesTo Extension
Component EditChapterPlugin
Priority Low
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
I Attachment Action Size Date Who Comment
q31608d99.pngpng q31608d99.png manage 3 K 08 Dec 2009 - 12:03 MartinRowe Screenshot of extra padding on TOC links
Topic revision: r3 - 01 Apr 2010, MartinRowe
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy