Skip to content

Commit

Permalink
Changed shape of Close button hover underlay in chatgpt.alert() to …
Browse files Browse the repository at this point in the history
…circle ↞ [auto-sync from `KudoAI/chatgpt.js`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jun 6, 2024
1 parent b71b632 commit b395a4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ const chatgpt = { // eslint-disable-line no-redeclare
+ 'background-color: ' + ( scheme == 'dark' ? '#00cfff' : '#9cdaff' ) + ';'
+ 'box-shadow: 2px 1px ' + ( scheme == 'dark' ? '54px #00cfff' : '30px #9cdaff' ) + '}'
+ '.modal-close-btn {'
+ 'cursor: pointer ; width: 20px ; height: 20px ; float: right ; position: relative ; right: -2px }'
+ '.modal-close-btn svg { margin: 5px 5px }' // center SVG for hover overlay
+ 'cursor: pointer ; width: 29px ; height: 29px ; border-radius: 17px ;'
+ 'float: right ; position: relative ; right: -6px ; top: -5px }'
+ '.modal-close-btn svg { margin: 10px }' // center SVG for hover underlay
+ `.modal-close-btn:hover { background-color: #f2f2f2${ scheme == 'dark' ? '00' : '' }}`

// Checkbox styles
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,

Check warning on line 2 in starters/chrome/extension/manifest.json

View workflow job for this annotation

GitHub Actions / eslint

"manifest_version" must be equal to 2
"name": "ChatGPT Extension",
"description": "A Chrome template to start using chatgpt.js like a boss!",
"version": "2024.6.5",
"version": "2024.6.6",
"author": "chatgpt.js",
"icons": {

Check warning on line 7 in starters/chrome/extension/manifest.json

View workflow job for this annotation

GitHub Actions / eslint

"icons" must be array
"16": "icons/icon16.png",
Expand Down

0 comments on commit b395a4e

Please sign in to comment.