ca9c863b4422bb49521f37b6a29397d03d57f17a
chmalee
  Mon Apr 27 13:42:24 2026 -0700
Bump up size of readableWidth for track description pages from 50chars to 70chars. Also make hgTrackUi use the same width for the track descriptions, refs #37430

diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c
index 913d52b0cc8..5c161ff32f6 100644
--- src/hg/hgTrackUi/hgTrackUi.c
+++ src/hg/hgTrackUi/hgTrackUi.c
@@ -4056,31 +4056,33 @@
     else // Move line down, since <H2>Description (in ->html) is proceded by too much space
         printf("<HR ALIGN='bottom' style='position:relative; top:1em;'>");
 
     printf("<table class='windowSize'><tr valign='top'><td rowspan=2>");
     puts("<A NAME='TRACK_HTML'></A>");    // include anchor for Description link
 
     // Add pennantIcon
     printPennantIconNote(tdb);
 
     char *html = tdb->html;
     if (trackDbSetting(tdb, "wgEncode"))
         {
         // add anchor to Credits section of ENCODE HTML page so lab contacts are easily found (on top menu)
         html = replaceChars(tdb->html, "2>Credits", "2></H2><A NAME='TRACK_CREDITS'></A>\n<H2>Credits</H2>");
         }
+    puts("<div class='readableWidth'>");
     puts(html);
+    puts("</div>");
 
     printf("</td><td nowrap>");
     cgiDown(0.7); // positions top link below line
     makeTopLink(tdb);
     printf("&nbsp;</td></tr><tr valign='bottom'><td nowrap>");
     makeTopLink(tdb);
     printf("&nbsp;</td></tr></table>");
     }
 }       /*      void trackUi(struct trackDb *tdb)       */
 
 struct trackDb *trackDbForPseudoTrack(char *tableName, char *shortLabel,
                                       char *longLabel, int defaultVis, boolean canPack)
 /* Create trackDb for a track without a corresponding table. */
 {
 struct trackDb *tdb;