From 2c3295c0f7b795fc6f5c4c7edbd18585ef805bbb Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Fri, 26 Apr 2024 21:38:18 -0700 Subject: [PATCH] Replaced `hostContainer` max-width w/ min-width for better UI --- greasemonkey/duckduckgpt.user.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index 09bfd80fef7..8d2ae94fd73 100644 --- a/greasemonkey/duckduckgpt.user.js +++ b/greasemonkey/duckduckgpt.user.js @@ -152,7 +152,7 @@ // @description:zu Faka amaphawu ase-ChatGPT kuvaliwe i-DuckDuckGo Search (okwesikhashana ngu-GPT-4!) // @author KudoAI // @namespace https://kudoai.com -// @version 2024.4.26.2 +// @version 2024.4.26.3 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png @@ -1302,6 +1302,9 @@ appElems.toReversed().forEach((elem, index) => // fade in staggered setTimeout(() => elem.classList.add('active'), index * 550 - 200)) + // Replace hostContainer max-width w/ min-width for better UI + hostContainer.style.maxWidth = '' ; hostContainer.style.minWidth = '448px' + // Check for active text campaigns to replace footer CTA fetchJSON('https://raw.githubusercontent.com/KudoAI/ads-library/main/advertisers/index.json', (err, advertisersData) => { if (err) return