Page MenuHomePhabricator

CSS style TOCs to make it easier to hit the link
Closed, InvalidPublic

Description

Author: paxed

Description:
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

Details

Reference
bz27366

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).

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

Jdlrobson subscribed.

Not actionable given the changes in code since the original request.

Feel free to reopen if you know what problem this is describing.