https://bugzilla.wikimedia.org/show_bug.cgi?id=27366

           Summary: CSS style TOCs to make it easier to hit the link
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Vector Skin
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: pa...@alt.org
                CC: asha...@wikimedia.org


Currently, if a heading in the Table of content is very short, it can be
slightly annoying trying to hit that particular heading. I suggest changing the
CSS to something like this:

 #toc li a { display:inline-block; width: 100%; }
 #toc li a:hover { background-color:#e8e8e8; }

The hover effect would make it easier to see which particular heading you're
going to hit, without being too obnoxious, and stretching the list links to the
whole box width would make it actually easier to hit the heading you want.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to