cb2d623f7b4db9d8b06711b0231de9e817640311 markd Sun Feb 27 16:56:22 2011 -0800 add white-space: nowrap in a bunch of places to fix topbar wrapping on narrow displays. Should be done in style sheet, however couldnt find a good way to do it give the current html diff --git src/hg/lib/web.c src/hg/lib/web.c index 323bf0c..bf183a8 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -284,31 +284,31 @@ } else { printf("<TD ALIGN=CENTER><A HREF=\"/goldenPath/help/sequenceViewHelp.html\" TARGET=_blank class=\"topbar\">%s</A></TD>", "<FONT COLOR=\"#FFFFFF\">Help</FONT>"); } printf("</TR></TABLE>"); printf("</TD></TR></TABLE>\n"); } else if (dbIsFound) { puts( "<!-- +++++++++++++++++++++ HOTLINKS BAR +++++++++++++++++++ -->" "\n" "<TR><TD COLSPAN=3 HEIGHT=40 >" "\n" "<table bgcolor=\"#000000\" cellpadding=\"1\" cellspacing=\"1\" width=\"100%%\" height=\"27\">" "\n" "<tr bgcolor=\"#"HG_COL_HOTLINKS"\"><td valign=\"middle\">" "\n" - " <table BORDER=0 CELLSPACING=0 CELLPADDING=0 bgcolor=\"#"HG_COL_HOTLINKS"\" height=\"24\"><TR>" "\n " + " <table BORDER=0 CELLSPACING=0 CELLPADDING=0 bgcolor=\"#"HG_COL_HOTLINKS"\" height=\"24\" style=\"white-space: nowrap;\"><TR>" "\n" " <TD VALIGN=\"middle\"><font color=\"#89A1DE\"> " "\n" ); if (isEncode) { printf(" <A HREF=\"../encode/\" class=\"topbar\">" "\n"); puts(" Home</A>"); } else { printf(" <A HREF=\"../index.html%s\" class=\"topbar\">" "\n", uiState); puts(" Home</A> "); if (isGsid) { printf(" <A HREF=\"../cgi-bin/gsidSubj%s\" class=\"topbar\">\n",