Page MenuHomePhabricator

CSS style TOCs to make it easier to hit the link
Open, LowPublic


Author: paxed

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.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:14 PM
bzimport set Reference to bz27366.
bzimport added a subscriber: Unknown Object (MLST).
Qgil added a comment.Apr 8 2014, 7:11 AM

Brandon and Steven have been working with the TOC lately. Do you have any opinion about this old request?

Jorm removed a subscriber: Jorm.Dec 26 2015, 7:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 26 2015, 7:24 PM