From f303fc3aafdba6e8f50e345e1d1cf9b2eadda5de Mon Sep 17 00:00:00 2001 From: adamlui Date: Sat, 1 Jun 2024 17:59:59 +0000 Subject: [PATCH] =?UTF-8?q?Reduced=20v-padding=20of=20rendered=20markdown?= =?UTF-8?q?=20unordered=20lists=20=E2=86=9E=20[auto-sync=20from=20`adamlui?= =?UTF-8?q?/chatgpt-apps`]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- greasemonkey/duckduckgpt.user.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index 54c9cca6c5a..22c0b80f999 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.7 +// @version 2024.6.1.8 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302 // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302 @@ -524,13 +524,13 @@ + '.kudoai { margin-left: 6px ; color: #aaa } ' + '.kudoai a, .kudoai a:visited { color: #aaa ; text-decoration: none } ' + '.kudoai a:hover { color: ' + ( scheme == 'dark' ? 'white' : 'black' ) + ' ; text-decoration: none } ' - + ( // markdown styles + + ( // rendered markdown styles '.ddgpt pre h1 { font-size: 1.45em } .ddgpt pre h2 { font-size: 1.25em }' // size headings - + '.ddgpt pre ol { margin: -30px 0 -37px }' // reduce v-spacing - + '.ddgpt pre ol > li { margin: -10px 0 0 1.6em ; list-style: decimal }' // reduce v-spacing, show number markers + + '.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 - + '.ddgpt pre ul { margin: -10px 0 -17px }' // reduce v-spacing - + '.ddgpt pre ul > li { margin: -10px 0 0 1.2em ; list-style: inside }' ) // reduce v-spacing, show bullets + + '.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-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