From 28fea0b4d25db25b6c20ece580f3c98b928ade49 Mon Sep 17 00:00:00 2001 From: Kevin Payravi Date: Fri, 3 Nov 2023 17:12:15 -0500 Subject: [PATCH] Adjust search engine banner styling --- content-search-filtering.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/content-search-filtering.js b/content-search-filtering.js index 3a31f24..007b55f 100644 --- a/content-search-filtering.js +++ b/content-search-filtering.js @@ -169,9 +169,6 @@ function insertCSS() { .iwb-notice .iwb-result-controls { margin: 8px 0 0 0; } - .iwb-notice .iwb-result-controls > div{ - padding: .5em 1em 0 0; - } ` @@ -276,12 +273,10 @@ function hideSearchResults(searchResultContainer, searchEngine, site) { searchRemovalNoticeLink.href = 'https://' + site.destination_base_url; searchRemovalNoticeLink.textContent = site.destination; searchRemovalNoticePretext = document.createTextNode('Indie Wiki Buddy has filtered out results from ' + site.origin_group + (site.lang !== 'EN' ? ' (' + site.lang + ')' : '') + '. Look for results from '); - searchRemovalNoticePosttext = document.createTextNode(' instead!'); - linebreak = document.createElement("br"); + searchRemovalNoticePosttext = document.createTextNode(' instead.'); searchRemovalNotice.appendChild(searchRemovalNoticePretext); searchRemovalNotice.appendChild(searchRemovalNoticeLink); searchRemovalNotice.appendChild(searchRemovalNoticePosttext); - searchRemovalNotice.appendChild(linebreak); // Output container for result controls: let resultControls = document.createElement('div');