dbfb7736aba998f5a03349aeabd1b7e498ca255f
angie
  Fri Apr 3 12:23:16 2015 -0700
Wrap hgc's track description html in a div with limited width, so if the
page is extremely wide due to long details, the description text will
wrap and you won't have to scroll back and forth to read it.

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index a27554f..24f80f2 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -3063,31 +3063,35 @@
         printDataVersion(tdb);
     else
         printf("<B>Data version:</B> %s <BR>\n", trackVersion->version);
     printOrigAssembly(tdb);
     printUpdateTime(database, tdb, NULL);
     printDataRestrictionDate(tdb);
     }
 char *html = getHtmlFromSelfOrParent(tdb);
 if (html != NULL && html[0] != 0)
     {
     htmlHorizontalLine();
 
     // Add pennantIcon
     printPennantIconNote(tdb);
 
+    // Wrap description html in div with limited width, so when the page is very wide
+    // due to long details, the user doesn't have to scroll right to read the description.
+    puts("<div class='readableWidth'>");
     puts(html);
+    puts("</div>");
     }
 hPrintf("<BR>\n");
 }
 
 void qChainRangePlusStrand(struct chain *chain, int *retQs, int *retQe)
 /* Return range of bases covered by chain on q side on the plus
  * strand. */
 {
 if (chain == NULL)
     errAbort("Can't find range in null query chain.");
 if (chain->qStrand == '-')
     {
     *retQs = chain->qSize - chain->qEnd+1;
     *retQe = chain->qSize - chain->qStart;
     }