17fc72a70e64f33d1a23b697ba99a2e008860ec5
chmalee
  Mon Aug 5 13:56:30 2024 -0700
Make the show more search results link not be huge, #33503

diff --git src/hg/js/hgSearch.js src/hg/js/hgSearch.js
index f0af8c3..cd3c0fa 100644
--- src/hg/js/hgSearch.js
+++ src/hg/js/hgSearch.js
@@ -668,31 +668,31 @@
                 ctrlImg.height = "18";
                 ctrlImg.width = "18";
                 ctrlImg.id = idAttr.value + categoryCount + "_button";
                 ctrlImg.src = "../images/remove_sm.gif";
                 newListObj.appendChild(ctrlImg);
                 let descText = document.createTextNode(" " + searchDesc + ":");
                 newListObj.appendChild(descText);
                 // Now loop through each actual hit on this table and unpack onto list
                 let subList = document.createElement("ul");
                 // only print the first 10 at first
                 printMatches(subList, matches.slice(0,10), title, searchDesc, false);
                 if (matches.length > 10) {
                     let idStr = idAttr.value + "_" + categoryCount;
                     let showMoreLi = document.createElement("li");
                     showMoreLi.id = idStr;
-                    showMoreLi.classList.add("liNoStyle");
+                    showMoreLi.classList.add("liNoStyle","searchResult");
                     let showMoreInp = document.createElement("input");
                     showMoreInp.type = "hidden";
                     showMoreInp.value = '0';
                     showMoreInp.id = showMoreLi.id + "showMore";
                     showMoreLi.appendChild(showMoreInp);
                     let showMoreImg = document.createElement("img");
                     showMoreImg.height = "18";
                     showMoreImg.width = "18";
                     showMoreImg.id = showMoreLi.id + "_showMoreButton";
                     showMoreImg.src = "../images/add_sm.gif";
                     showMoreLi.appendChild(showMoreImg);
                     let showMoreDiv = document.createElement("div");
                     showMoreDiv.id = idStr + "_showMoreDiv";
                     showMoreDiv.classList.add("showMoreDiv");
                     let showMoreA = document.createElement("a");