[ https://issues.apache.org/jira/browse/SOLR-11442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194700#comment-16194700 ]
Cassandra Targett commented on SOLR-11442: ------------------------------------------ This is a change I've considered making a few times too so I'm overall +1. The reason I never made the change is because I'm not a huge fan of how the gray background spans the whole width of the page taken up by the TOC (I'd prefer it to scale dynamically with the size of the TOC that's inside it), but I'll live with that for now until I have time to look at it in more detail and see if I can get it to scale. SOLR-10612 added the ability to put the TOC on the right side of the page (see something like https://builds.apache.org/view/L/view/Lucene/job/Solr-reference-guide-master/javadoc/collections-api.html for an example), and the change in the proposed patch makes it so it's possible for that right-hand TOC to severely crowd out the content that's supposed to float next to it since it will span as much space as it needs. Adding a {{max-width: 300px;}} to the definition for {{toc-right}} confines it back into a reasonable space. New patch attached to show the change, but I'll commit both changes in a moment. > Slightly prettier table of contents in ref guide > ------------------------------------------------ > > Key: SOLR-11442 > URL: https://issues.apache.org/jira/browse/SOLR-11442 > Project: Solr > Issue Type: Improvement > Reporter: Gus Heck > Assignee: Cassandra Targett > Attachments: prettier_toc.patch, Screen Shot 2017-10-05 at 9.13.13 > PM.png, Screen Shot 2017-10-05 at 9.13.37 PM.png, SOLR-11442.patch > > > This has been irking me, and the fix is dead simple... The table of contents > in the ref guide is silly skinny taking up only 300px leading to things like > the attached screen shots... -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org