3d4fe14b34d3a6eb335d4bb228d574300c9324e6 braney Thu Apr 11 15:05:01 2024 -0700 Revert "changing more info link such that it doesnt change the alignment anymore, refs #33065" This reverts commit 5bf315f014b13b0bfb51d268264297b06f370b37. diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 5244124..f7e705b 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9459,37 +9459,32 @@ if (strstr(group->label, "Collections")) { safef(idText, sizeof idText, "%s_edit", group->name); hPrintf("\n", idText); jsOnEventByIdF("click", idText, "document.editHubForm.submit();return true;"); } } hPrintf("\n%s", group->label); hPrintf("\n"); if (isHubTrack(group->name)) { struct trackHub *hub = grabHashedHub(group->name); - - // visibility: hidden means that the element takes up space so the center alignment is not disturbed. - char *cssStr = ""; - if ((hub == NULL) || (hub->descriptionUrl == NULL)) - cssStr = "visibility: hidden"; - - hPrintf("More Info  ", hub->descriptionUrl, cssStr); + if ((hub != NULL) && (hub->descriptionUrl != NULL)) + hPrintf("More Info  ", hub->descriptionUrl); safef(idText, sizeof idText, "%s_disconn", group->name); hPrintf("\n", idText); jsOnEventByIdF("click", idText, "document.disconnectHubForm.elements['hubId'].value='%s';" "document.disconnectHubForm.submit();return true;", group->name + strlen(hubTrackPrefix)); } hPrintf("\n"); hPrintf("\n"); controlGridEndRow(cg);