Last modified: 2014-04-08 07:11:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29366, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27366 - CSS style TOCs to make it easier to hit the link
CSS style TOCs to make it easier to hit the link
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: design
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-12 18:31 UTC by paxed
Modified: 2014-04-08 07:11 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description paxed 2011-02-12 18:31:18 UTC
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.
Comment 1 Bugmeister Bot 2011-08-19 19:12:57 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 2 Quim Gil 2014-04-08 07:11:34 UTC
Brandon and Steven have been working with the TOC lately. Do you have any opinion about this old request?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links