From e8df19f6b5e91a494f426134e1b3dd7defea4d8f Mon Sep 17 00:00:00 2001 From: adamlui Date: Sat, 1 Jun 2024 18:04:33 +0000 Subject: [PATCH] =?UTF-8?q?Corrected=20`margin-bottom`=20of=20rendered=20m?= =?UTF-8?q?arkdown=20headings=20=E2=86=9E=20[auto-sync=20from=20`adamlui/c?= =?UTF-8?q?hatgpt-apps`]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- greasemonkey/duckduckgpt.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index d399312688b..e98ce9d1fb9 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.1.9 +// @version 2024.6.1.10 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302 // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302 @@ -526,7 +526,7 @@ + '.kudoai a:hover { color: ' + ( scheme == 'dark' ? 'white' : 'black' ) + ' ; text-decoration: none } ' + ( // rendered markdown styles '.ddgpt pre h1 { font-size: 1.29em } .ddgpt pre h2 { font-size: 1.19em }' // size headings - + '.ddgpt pre h1, .ddgpt pre h2 { margin-bottom: 15px }' // reduce gap after headings + + '.ddgpt pre h1, .ddgpt pre h2 { margin-bottom: -15px }' // reduce gap after headings + '.ddgpt pre ol { margin: -30px 0 -37px }' // reduce v-padding + '.ddgpt pre ol > li { margin: -10px 0 0 1.6em ; list-style: decimal }' // reduce v-padding, show number markers + '.ddgpt pre ol > li::marker { font-size: 0.9em }' // shrink number markers