1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 22:53:03 +05:30

(fixed): last search result's bottom gap by adding an bottom spacer element

This commit is contained in:
2023-11-19 22:35:27 +05:30
parent 2d76b03783
commit 76825c5e63
3 changed files with 13 additions and 0 deletions

View File

@@ -272,6 +272,10 @@ function inject_search_results (results, keyword) {
searchRes.appendChild(profileDiv);
});
}
const bottomSpacer = document.createElement("div");
bottomSpacer.className = "bottomspacer w-full h-[10px]";
searchRes.appendChild(bottomSpacer);
}
function inject_no_results(results, keyword) {