Skip to content

Commit 3003a80

Browse files
committed
1 parent 6d9d10d commit 3003a80

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 8 additions & 6 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 2025.10.15.2
6+
// @version 2025.10.16
77
// @license MIT
88
// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
@@ -1327,8 +1327,8 @@
13271327
// Re-style elems
13281328
apiModal.querySelector('h2').style.justifySelf = 'center' // center title
13291329
const btnsDiv = apiModal.querySelector('.modal-buttons')
1330-
btnsDiv.style.cssText = ` /* y-pad, gridify */
1331-
margin: 18px 0px 14px !important ; display: grid ; grid-template-columns: repeat(3, 1fr) ; gap: 10px`
1330+
btnsDiv.style.cssText = `margin: 0 !important ; ${ env.browser.isPhone ? ''
1331+
: 'flex-wrap: wrap ; justify-content: center ; gap: 9px' }` // gridify desktop btns
13321332
btnsDiv.querySelectorAll('button').forEach((btn, idx) => {
13331333
if (idx == 0) btn.style.display = 'none' // hide Dismiss button
13341334
else btn.classList.toggle('primary-modal-btn', // emphasize preferred API
@@ -1829,10 +1829,12 @@
18291829
// Main modal styles
18301830
+ `@keyframes modal-zoom-fade-out {
18311831
0% { opacity: 1 } 50% { opacity: 0.25 ; transform: scale(1.05) }
1832-
100% { opacity: 0 ; transform: scale(1.35) }}
1832+
100% { opacity: 0 ; transform: scale(1.35) }
1833+
}
18331834
.chatgpt-modal > div {
1834-
padding: 20px 30px 24px 17px !important ; /* increase alert padding */
1835-
background-color: white !important ; color: black }
1835+
background-color: white !important ; color: black ;
1836+
padding: ${ env.browser.isPhone ? '22px' : '20px 30px 24px 17px' }!important
1837+
}
18361838
.chatgpt-modal p { margin: -8px 0 -14px 4px ; font-size: 22px ; line-height: 31px }
18371839
.chatgpt-modal a { color: #${ env.ui.app.scheme == 'dark' ? '00cfff' : '1e9ebb' } !important }
18381840
.modal-buttons {

0 commit comments

Comments
 (0)