@@ -164,9 +164,10 @@ const chatgpt = {
164164 + `color: ${ scheme == 'dark' ? 'white' : 'black' } ;`
165165 + `background-color: ${ scheme == 'dark' ? 'black' : 'white' } ;`
166166 + 'transform: translateX(-3px) translateY(7px) ;' // offset to move-in from
167- + 'max-width: 75vw ; word-wrap: break-word ;'
168- + 'padding: 20px ; margin: 12px 23px ; border-radius: 15px ; box-shadow: 0 30px 60px rgba(0,0,0,0.12) ;'
169- + 'user-select: none ; -webkit-user-select: none ; -moz-user-select: none ; -ms-user-select: none ;'
167+ + 'max-width: 75vw ; word-wrap: break-word ; border-radius: 15px ;'
168+ + 'padding: 20px ; margin: 12px 23px ; box-shadow: 0 30px 60px rgba(0,0,0,0.12) ;'
169+ + 'user-select: none ; -webkit-user-select: none ; -moz-user-select: none ; -o-user-select: none ;'
170+ + '-ms-user-select: none ;'
170171 + 'transition: var(--transition) ;' // for fade-in + move-in
171172 + '-webkit-transition: var(--transition) ; -moz-transition: var(--transition) ;'
172173 + '-o-transition: var(--transition) ; -ms-transition: var(--transition) }'
@@ -1295,7 +1296,7 @@ const chatgpt = {
12951296 + ( notificationDiv . isRight ? 'Right' : 'Left' ) ;
12961297
12971298 // Create/append/update notification style (if missing or outdated)
1298- const thisUpdated = 1735475527153 // timestamp of last edit for this file's `notifStyle`
1299+ const thisUpdated = 1735767823541 // timestamp of last edit for this file's `notifStyle`
12991300 let notifStyle = document . querySelector ( '#chatgpt-notif-style' ) ; // try to select existing style
13001301 if ( ! notifStyle || parseInt ( notifStyle . getAttribute ( 'last-updated' ) , 10 ) < thisUpdated ) { // if missing or outdated
13011302 if ( ! notifStyle ) { // outright missing, create/id/attr/append it first
@@ -1310,7 +1311,8 @@ const chatgpt = {
13101311 + '.no-mobile-tap-outline { outline: none ; -webkit-tap-highlight-color: transparent }'
13111312 + 'background-color: black ; padding: 10px 13px 10px 18px ; border-radius: 11px ; border: 1px solid #f5f5f7 ;' // bubble style
13121313 + 'opacity: 0 ; position: fixed ; z-index: 9999 ; font-size: 1.8rem ; color: white ;' // visibility
1313- + '-webkit-user-select: none ; -moz-user-select: none ; -ms-user-select: none ; user-select: none ;'
1314+ + 'user-select: none ; -webkit-user-select: none ; -moz-user-select: none ; -o-user-select: none ;'
1315+ + '-ms-user-select: none ;'
13141316 + `transform: translateX(${ ! notificationDiv . isRight ? '-' : '' } 35px) ;` // init off-screen for transition fx
13151317 + ( shadow ? ( 'box-shadow: -8px 13px 25px 0 ' + ( / \b (?: s h a d o w | o n ) \b / i. test ( shadow ) ? 'gray' : shadow ) ) : '' ) + '}'
13161318 + '.notif-close-btn { cursor: pointer ; float: right ; position: relative ; right: -4px ; margin-left: -3px ;'
0 commit comments