File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
chromium/extension/components
firefox/extension/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ window.tooltip = {
3636 const unscaledTop = btnRect . top + ( btnRect . height - btnRect . height / btnScale ) / 2
3737 this . div . textContent = browserAPI . getMsg ( `tooltip_${ btnType } ${
3838 ! / f u l l | w i d e / i. test ( btnType ) ? '' : ( config [ btnType ] ? 'OFF' : 'ON' ) } `)
39- this . div . style . left = `${ btnRect . left + ( btnRect . width / 2 ) - ( this . div . offsetWidth / 2 ) } px`
39+ this . div . style . left = `${ btnRect . left + ( btnRect . width / 2 ) - ( this . div . offsetWidth / 2 )
40+ - ( site == 'chatgpt' ? 260 : 0 ) } px`
4041 this . div . style . top = `${ unscaledTop - this . div . offsetHeight - ( site == 'chatgpt' ? - 75 : /* poe */ 19 ) } px`
4142 }
4243} ;
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ window.tooltip = {
3636 const unscaledTop = btnRect . top + ( btnRect . height - btnRect . height / btnScale ) / 2
3737 this . div . textContent = browserAPI . getMsg ( `tooltip_${ btnType } ${
3838 ! / f u l l | w i d e / i. test ( btnType ) ? '' : ( config [ btnType ] ? 'OFF' : 'ON' ) } `)
39- this . div . style . left = `${ btnRect . left + ( btnRect . width / 2 ) - ( this . div . offsetWidth / 2 ) } px`
39+ this . div . style . left = `${ btnRect . left + ( btnRect . width / 2 ) - ( this . div . offsetWidth / 2 )
40+ - ( site == 'chatgpt' ? 260 : 0 ) } px`
4041 this . div . style . top = `${ unscaledTop - this . div . offsetHeight - ( site == 'chatgpt' ? - 75 : /* poe */ 19 ) } px`
4142 }
4243} ;
You can’t perform that action at this time.
0 commit comments