Skip to content

Commit 0a23255

Browse files
committed
Added white-space: pre-wrap to About modal <p> styles (adamlui/ai-web-extensions#518) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/duckduckgpt]
1 parent d20e188 commit 0a23255

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

chatgpt/duckduckgpt/duckduckgpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2026.7.27.1
151+
// @version 2026.7.27.2
152152
// @license MIT
153153
// @icon https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@e73859f/assets/images/icons/app/icon48.png
154154
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@e73859f/assets/images/icons/app/icon64.png
@@ -1886,9 +1886,9 @@
18861886

18871887
// Format text
18881888
aboutModal.querySelector('h2').remove() // remove empty title h2
1889-
aboutModal.querySelector('p').style.cssText = (
1890-
'overflow-wrap: anywhere ; line-height: 1.55 ;'
1891-
+ `margin: ${ env.browser.isCompact ? '9px 0 -16px' : '3px 0 -11px 10px' }`)
1889+
aboutModal.querySelector('p').style.cssText = `
1890+
overflow-wrap: anywhere ; line-height: 1.55 ; white-space: pre-wrap ;
1891+
margin: ${ env.browser.isCompact ? '9px 0 -16px' : '3px 0 -11px 10px' }`
18921892

18931893
// Hack buttons
18941894
aboutModal.querySelectorAll('button').forEach(btn => {

0 commit comments

Comments
 (0)