File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.19.2
6+ // @version 2025.10.19.3
77// @license MIT
88// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
17151715 const settingsContainer = modals . settings . get ( ) ?. parentNode || modals . settings . createAppend ( )
17161716 settingsContainer . style . display = '' // show modal
17171717 if ( env . browser . isMobile ) { // scale 93% to viewport sides
1718- const settingsModal = settingsContainer . querySelector ( `#${ app . slug } -settings` ) ,
1719- scaleRatio = 0.93 * innerWidth / settingsModal . offsetWidth
1720- settingsModal . style . transform = `scale(${ scaleRatio } )`
1718+ const settingsModal = settingsContainer . querySelector ( `#${ app . slug } -settings` )
1719+ modals . settings . scaleRatio || = 0.93 * innerWidth / settingsModal . scrollWidth
1720+ settingsModal . style . transform = `scale(${ modals . settings . scaleRatio } )`
17211721 }
17221722 return settingsContainer . firstChild
17231723 } ,
You can’t perform that action at this time.
0 commit comments