From a33b76f17832c28d8581cbe8f94fb9e507a13ad6 Mon Sep 17 00:00:00 2001 From: adamlui Date: Tue, 9 Jul 2024 08:53:39 +0000 Subject: [PATCH] =?UTF-8?q?Added=20border=20radius=20to=20`starsDivsContai?= =?UTF-8?q?ner`=20to=20match=20corner=20bounding=20of=20host=20container?= =?UTF-8?q?=20=E2=86=9E=20[auto-sync=20from=20`adamlui/chatgpt-apps`]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- greasemonkey/duckduckgpt.user.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index ffc56bd79b4..0ed756607c7 100644 --- a/greasemonkey/duckduckgpt.user.js +++ b/greasemonkey/duckduckgpt.user.js @@ -148,7 +148,7 @@ // @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2024.7.9.5 +// @version 2024.7.9.6 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302 // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302 @@ -1738,7 +1738,8 @@ function fillStarryBG(targetNode) { const starsDivsContainer = document.createElement('div') - starsDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ; height: 100% ; width: 100% ; overflow: clip ;' + starsDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner + + 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode + 'z-index: -1'; // allow interactive elems to be clicked ['sm', 'med', 'lg'].forEach(starSize => { const starsDiv = document.createElement('div')