4ad18f5e3c3e5b960a138161d8048cd7d3a2f34d kate Wed May 6 18:01:29 2020 -0700 Fix styling. refs #24948 diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c index 1b8bad9..18f52b5 100644 --- src/hg/hgTrackUi/hgTrackUi.c +++ src/hg/hgTrackUi/hgTrackUi.c @@ -3617,32 +3617,34 @@ { // html is going to be used w/n a dialog in hgTracks.js so serve up stripped down html // still need CSP2 header for security printf("%s", getCspMetaHeader()); trackUi(tdb, tdbList, ct, TRUE); cartRemove(cart,"ajax"); jsInlineFinish(); } else { char title[1000]; if (tdb->parent) { safef(title, sizeof title, // TODO: replace in-line styling with class - "<span style='background-color: #c3d4f4; padding-left: 10px; margin-left: -8px;'>" - "%s </span> %s", + "<span style='background-color: #c3d4f4; " + "padding-left: 10px; padding-right: 10px;" + "margin-right: 10px; margin-left: -8px;'>" + "%s</span> %s", tdb->parent->shortLabel, tdb->shortLabel); } else safef(title, sizeof title, "%s", tdb->shortLabel); char *titleEnd = (tdbIsSuper(tdb) ? "Tracks" : tdbIsDownloadsOnly(tdb) ? DOWNLOADS_ONLY_TITLE : "Track Settings"); cartWebStart(cart, database, "%s %s", title, titleEnd); trackUi(tdb, tdbList, ct, FALSE); printf("<BR>\n"); jsonPrintGlobals(); webEnd(); } } char *excludeVars[] = { "submit", "Submit", "g", NULL, "ajax", NULL,};