Skip to content

Commit

Permalink
Corrected margin-bottom of rendered markdown headings ↞ [auto-sync …
Browse files Browse the repository at this point in the history
…from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jun 1, 2024
1 parent 293898e commit e8df19f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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.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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e8df19f

Please sign in to comment.