Skip to content

Commit 6ab59e5

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/amazongpt]
1 parent 0558407 commit 6ab59e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2026.7.27.1
6+
// @version 2026.7.27.2
77
// @license MIT
88
// @icon https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@8e8ed1c/assets/images/icons/app/black-gold-teal/icon48.png
99
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@8e8ed1c/assets/images/icons/app/black-gold-teal/icon64.png
@@ -1260,7 +1260,7 @@
12601260
// Center text
12611261
aboutModal.querySelector('h2').remove() // remove empty title h2
12621262
aboutModal.querySelector('p').style.cssText = `
1263-
overflow-wrap: anywhere ; line-height: 1.55 ;
1263+
overflow-wrap: anywhere ; line-height: 1.55 ; white-space: pre-wrap ;
12641264
margin: ${ env.browser.isCompact ? '6px 0 -16px' : '0 0 0 21px' }`
12651265

12661266
// Hack buttons

0 commit comments

Comments
 (0)