Skip to content

Commit

Permalink
Lifted poe.com New Chat button +.005rem to appear more flush when sup…
Browse files Browse the repository at this point in the history
…er zoomed in ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 10, 2024
1 parent ce8d6f7 commit 85d7ad4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chrome/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
Object.assign(btns[btnType].style, { // remove dark mode overlay
backgroundColor: 'transparent', borderColor: 'transparent' })
} else if (env.site == 'poe') // lift buttons slightly
this[btnType].style.marginBottom = ( btnType == 'newChat' ? '0.45' : '0.2' ) + 'rem'
this[btnType].style.marginBottom = ( btnType == 'newChat' ? '0.455' : '0.2' ) + 'rem'

// Add hover/click listeners
this[btnType].onmouseover = this[btnType].onmouseout = toggle.tooltip
Expand Down
2 changes: 1 addition & 1 deletion firefox/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
Object.assign(this[btnType].style, { // remove dark mode overlay
backgroundColor: 'transparent', borderColor: 'transparent' })
} else if (env.site == 'poe') // lift buttons slightly
this[btnType].style.marginBottom = ( btnType == 'newChat' ? '0.45' : '0.2' ) + 'rem'
this[btnType].style.marginBottom = ( btnType == 'newChat' ? '0.455' : '0.2' ) + 'rem'

// Add hover/click listeners
this[btnType].onmouseover = this[btnType].onmouseout = toggle.tooltip
Expand Down
4 changes: 2 additions & 2 deletions greasemonkey/chatgpt-widescreen-mode.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
// @description:zu Yengeza Isikrini Esibanzi + Izindlela Zesikrini Esigcwele ku-chatgpt.com + perplexity.ai + poe.com ukuze uthole ukubuka okuthuthukisiwe + okuncishisiwe ukuskrola
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.12.9.4
// @version 2024.12.9.5
// @license MIT
// @icon https://media.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?9a393be
// @icon64 https://media.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?9a393be
Expand Down Expand Up @@ -611,7 +611,7 @@
Object.assign(btns[btnType].style, { // remove dark mode overlay
backgroundColor: 'transparent', borderColor: 'transparent' })
} else if (env.site == 'poe') // lift buttons slightly
this[btnType].style.marginBottom = ( btnType == 'newChat' ? '0.45' : '0.2' ) + 'rem'
this[btnType].style.marginBottom = ( btnType == 'newChat' ? '0.455' : '0.2' ) + 'rem'

// Add hover/click listeners
this[btnType].onmouseover = this[btnType].onmouseout = toggle.tooltip
Expand Down

0 comments on commit 85d7ad4

Please sign in to comment.