diff --git a/popup.html b/popup.html index 1dce64d0..31f99be9 100644 --- a/popup.html +++ b/popup.html @@ -101,9 +101,6 @@
- - -
diff --git a/popup/search.css b/popup/search.css index 54d77f04..bd67d940 100644 --- a/popup/search.css +++ b/popup/search.css @@ -68,7 +68,7 @@ body.search-results-shown { filter: opacity(.2); } -.search-result-screenshot > * { +.search-result-screenshot { height: 140px; width: 100%; object-fit: cover; @@ -82,7 +82,7 @@ body.search-results-shown { overflow-wrap: break-word; } -.search-result-title picture { +.search-result-title img { width: 20px; height: 20px; margin: -6px 4px -6px 0; diff --git a/popup/search.js b/popup/search.js index c45977f6..13e727e0 100644 --- a/popup/search.js +++ b/popup/search.js @@ -291,7 +291,7 @@ $('.search-result-title span', entry).textContent = t.breakWord(name.length < 300 ? name : name.slice(0, 300) + '...'); // screenshot - const elShot = $('.search-result-screenshot-default', entry); + const elShot = $('.search-result-screenshot', entry); if (isUsw) { elShot.src = !/^https?:/i.test(shotName) ? BLANK_PIXEL : imgType !== '.jpg' ? shotName.replace(/\.jpg$/, imgType) :