Skip to content

Commit

Permalink
Aligned sidebar navicon w/ ChatGPT icon in post-GPT-4o UI ↞ [auto-syn…
Browse files Browse the repository at this point in the history
…c from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 17, 2024
1 parent 02fdb1d commit cef982e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chrome/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
const navicon = document.querySelector('#infToggleFavicon') || document.createElement('img')
navicon.id = 'infToggleFavicon'
navicon.style.width = navicon.style.height = '1.25rem'
navicon.style.marginLeft = navicon.style.marginRight = '4px'
navicon.style.marginLeft = isGPT4oUI ? '2px' : '4px' ; navicon.style.marginRight = '4px'

// Create/ID/disable/hide/update checkbox
const toggleInput = document.querySelector('#infToggleInput') || document.createElement('input')
Expand Down
2 changes: 1 addition & 1 deletion edge/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
const navicon = document.querySelector('#infToggleFavicon') || document.createElement('img')
navicon.id = 'infToggleFavicon'
navicon.style.width = navicon.style.height = '1.25rem'
navicon.style.marginLeft = navicon.style.marginRight = '4px'
navicon.style.marginLeft = isGPT4oUI ? '2px' : '4px' ; navicon.style.marginRight = '4px'

// Create/ID/disable/hide/update checkbox
const toggleInput = document.querySelector('#infToggleInput') || document.createElement('input')
Expand Down
4 changes: 2 additions & 2 deletions greasemonkey/chatgpt-infinity.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
// @description:zh-TW 從無所不知的 ChatGPT 生成無窮無盡的答案 (用任何語言!)
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.5.16.1
// @version 2024.5.16.2
// @license MIT
// @match *://chatgpt.com/*
// @match *://chat.openai.com/*
Expand Down Expand Up @@ -611,7 +611,7 @@
const navicon = document.querySelector('#infToggleFavicon') || document.createElement('img')
navicon.id = 'infToggleFavicon'
navicon.style.width = navicon.style.height = '1.25rem'
navicon.style.marginLeft = navicon.style.marginRight = '4px'
navicon.style.marginLeft = isGPT4oUI ? '2px' : '4px' ; navicon.style.marginRight = '4px'

// Create/ID/disable/hide/update checkbox
const toggleInput = document.querySelector('#infToggleInput') || document.createElement('input')
Expand Down
2 changes: 1 addition & 1 deletion opera/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
const navicon = document.querySelector('#infToggleFavicon') || document.createElement('img')
navicon.id = 'infToggleFavicon'
navicon.style.width = navicon.style.height = '1.25rem'
navicon.style.marginLeft = navicon.style.marginRight = '4px'
navicon.style.marginLeft = isGPT4oUI ? '2px' : '4px' ; navicon.style.marginRight = '4px'

// Create/ID/disable/hide/update checkbox
const toggleInput = document.querySelector('#infToggleInput') || document.createElement('input')
Expand Down

0 comments on commit cef982e

Please sign in to comment.