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("Data version: %s
\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("