Skip to content

Commit

Permalink
Reduced v-padding of rendered markdown unordered lists ↞ [auto-sync f…
Browse files Browse the repository at this point in the history
…rom `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jun 1, 2024
1 parent ddc0dca commit f303fc3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions 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-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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f303fc3

Please sign in to comment.