From 2e76f8554db894c0927468dfac5ad83596cba918 Mon Sep 17 00:00:00 2001 From: adamlui Date: Tue, 4 Jun 2024 22:22:50 +0000 Subject: [PATCH] =?UTF-8?q?Moved=20site=20notification=20style=20from=20`u?= =?UTF-8?q?pdateTweaksStyle()`=20to=20`updateAppStyle()`=20=E2=86=9E=20[au?= =?UTF-8?q?to-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 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index 6d8da74b80d..913982ec65c 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-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2024.6.4.6 +// @version 2024.6.4.7 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302 // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302 @@ -815,6 +815,7 @@ + '.ddgpt > pre ul { margin: -28px 0 -35px }' // reduce v-padding + '.ddgpt > pre ul > li { margin: -10px 0 0 1.2em ; list-style: inside }' ) // reduce v-padding, show bullets + '.katex-html { display: none } ' // hide unrendered math + + '.chatgpt-notif { padding: 11px 15px 6px 12px !important }' // pad site notifications + '.chatgpt-modal > div { padding: 20px 25px 24px 25px !important }' // increase alert padding + '.chatgpt-modal h2 { margin: 0 ; padding: 0 ; font-weight: bold }' // shrink margin/padding around alert titles, force bold + '.chatgpt-modal p { margin: -8px 0 -9px 4px ; font-size: 1.55rem }' // position/size update alert msg @@ -841,9 +842,6 @@ tweaksStyle.innerText = ( config.widerSidebar ? wsbStyles : '' ) + ( config.stickySidebar && !isStandbyMode && answerIsLoaded ? ssbStyles : '' ) - // Re-pad site notifications - tweaksStyle.innerText += '.chatgpt-notif { padding: 11px 15px 6px 12px !important }' - // Update
 max-height in Sticky Sidebar mode based on RQ visibility (for getShowReply()'s RQ show + menu RQ toggle)
         const answerPre = document.querySelector('.ddgpt > pre'),
               relatedQueries = document.querySelector('.related-queries'),