Skip to content

Commit

Permalink
Replaced hostContainer max-width w/ min-width for better UI
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Apr 27, 2024
1 parent c2de2d6 commit 2c3295c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2c3295c

Please sign in to comment.